On this page

new EnableWasmLoadingPlugin(type): EnableWasmLoadingPlugin
Attributes
library type that should be available
Returns:
{EnableWasmLoadingPlugin}
Attributes
webpack.wasm.EnableWasmLoadingPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin


webpack.wasm.EnableWasmLoadingPlugin.checkEnabled(compiler, type): void
  • compiler {Compiler} the compiler instance
  • type <string> type of library
  • Returns: {void}

webpack.wasm.EnableWasmLoadingPlugin.setEnabled(compiler, type): void
  • compiler {Compiler} the compiler instance
  • type <string> type of library
  • Returns: {void}