Validates and enables named wasm loading backends by applying the plugin implementations that provide their runtime support.
new EnableWasmLoadingPlugin(type): EnableWasmLoadingPlugin
Attributes
type:
stringReturns:
EnableWasmLoadingPluginStores the wasm loading backend name that should be enabled for the compiler.
Source Code: lib/wasm/EnableWasmLoadingPlugin.js#L44Type:
stringenableWasmLoadingPlugin.apply(compiler): void
Attributes
compiler:
CompilerEnables the requested wasm loading backend once and applies the environment-specific plugins that provide its parser, generator, and runtime support.
EnableWasmLoadingPlugin.checkEnabled(compiler, type): void
Attributes
Verifies that a wasm loading type has been enabled before code generation attempts to use it.
EnableWasmLoadingPlugin.setEnabled(compiler, type): void
Attributes
Marks a custom or built-in wasm loading type as enabled for the compiler without applying additional built-in behavior.