Skip to content

Commit 4e387ef

Browse files
committed
update submodule origin
1 parent 9fcaa24 commit 4e387ef

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ module.exports = mergeExports(fn, {
495495
wasm: {
496496
get AsyncWebAssemblyModulesPlugin() {
497497
return require("./wasm-async/AsyncWebAssemblyModulesPlugin");
498+
},
499+
get EnableWasmLoadingPlugin() {
500+
return require("./wasm/EnableWasmLoadingPlugin");
498501
}
499502
},
500503

types.d.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3133,6 +3133,17 @@ declare class EnableLibraryPlugin {
31333133
static setEnabled(compiler: Compiler, type: string): void;
31343134
static checkEnabled(compiler: Compiler, type: string): void;
31353135
}
3136+
declare class EnableWasmLoadingPlugin {
3137+
constructor(type: string);
3138+
type: string;
3139+
3140+
/**
3141+
* Apply the plugin
3142+
*/
3143+
apply(compiler: Compiler): void;
3144+
static setEnabled(compiler: Compiler, type: string): void;
3145+
static checkEnabled(compiler: Compiler, type: string): void;
3146+
}
31363147
type Entry =
31373148
| string
31383149
| (() => string | EntryObject | string[] | Promise<EntryStatic>)
@@ -12891,7 +12902,7 @@ declare namespace exports {
1289112902
export { ElectronTargetPlugin };
1289212903
}
1289312904
export namespace wasm {
12894-
export { AsyncWebAssemblyModulesPlugin };
12905+
export { AsyncWebAssemblyModulesPlugin, EnableWasmLoadingPlugin };
1289512906
}
1289612907
export namespace library {
1289712908
export { AbstractLibraryPlugin, EnableLibraryPlugin };

0 commit comments

Comments
 (0)