On this page

new AsyncWebAssemblyModulesPlugin(options): void
  • options {AsyncWebAssemblyModulesPluginOptions}
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


renderModule(module, renderContext, hooks): Source
Attributes
module:<Module>
the rendered module
renderContext:
{WebAssemblyRenderContext} options object
hooks:
{CompilationHooksAsyncWebAssemblyModulesPlugin} hooks
Returns:<Source>
the newly generated source from rendering

Attributes
compilation:<Compilation>
the compilation
Returns:
{CompilationHooksAsyncWebAssemblyModulesPlugin} the attached hooks