On this page

new AsyncWebAssemblyModulesPlugin(options): AsyncWebAssemblyModulesPlugin
Attributes

Creates an instance of AsyncWebAssemblyModulesPlugin.

Attributes
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.


renderModule(module, renderContext, hooks): Source
Attributes
module:<Module>
renderContext:
{WebAssemblyRenderContext}
Returns:<Source>

Renders the newly generated source from rendering.


Attributes
compilation:<Compilation>

Returns the attached hooks.