@rspack-debug/browser 2.0.0-beta.7 → 2.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Compilation.d.ts +2 -0
- package/dist/builtin-plugin/EsmNodeTargetPlugin.d.ts +9 -0
- package/dist/builtin-plugin/index.d.ts +1 -0
- package/dist/config/types.d.ts +0 -2
- package/dist/index.js +435 -331
- package/dist/napi-binding.d.ts +14 -10
- package/dist/wasi-worker-browser.mjs +268 -159
- package/package.json +2 -2
package/dist/Compilation.d.ts
CHANGED
|
@@ -433,6 +433,8 @@ export declare class Entries implements Map<string, EntryData> {
|
|
|
433
433
|
has(key: string): boolean;
|
|
434
434
|
set(key: string, value: EntryData): this;
|
|
435
435
|
delete(key: string): boolean;
|
|
436
|
+
getOrInsert(key: string, defaultValue: EntryData): EntryData;
|
|
437
|
+
getOrInsertComputed(key: string, callback: (key: string) => EntryData): EntryData;
|
|
436
438
|
get(key: string): EntryData | undefined;
|
|
437
439
|
keys(): ReturnType<Map<string, EntryData>['keys']>;
|
|
438
440
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const EsmNodeTargetPlugin: {
|
|
2
|
+
new (): {
|
|
3
|
+
name: string;
|
|
4
|
+
_args: [];
|
|
5
|
+
affectedHooks: keyof import("..").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("..").Compiler): void;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -28,6 +28,7 @@ export * from './EnableWasmLoadingPlugin';
|
|
|
28
28
|
export * from './EnsureChunkConditionsPlugin';
|
|
29
29
|
export * from './EntryPlugin';
|
|
30
30
|
export * from './EsmLibraryPlugin';
|
|
31
|
+
export * from './EsmNodeTargetPlugin';
|
|
31
32
|
export * from './EvalDevToolModulePlugin';
|
|
32
33
|
export * from './EvalSourceMapDevToolPlugin';
|
|
33
34
|
export * from './ExternalsPlugin';
|
package/dist/config/types.d.ts
CHANGED
|
@@ -600,8 +600,6 @@ export type ResolveOptions = {
|
|
|
600
600
|
byDependency?: Record<string, ResolveOptions>;
|
|
601
601
|
/** enable Yarn PnP */
|
|
602
602
|
pnp?: boolean;
|
|
603
|
-
/** Path to PnP manifest file */
|
|
604
|
-
pnpManifest?: string | false;
|
|
605
603
|
};
|
|
606
604
|
/** Used to configure the Rspack module resolution */
|
|
607
605
|
export type Resolve = ResolveOptions;
|