File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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+ }
31363147type 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 } ;
You can’t perform that action at this time.
0 commit comments