new AsyncWebAssemblyModulesPlugin(options): voidoptions{AsyncWebAssemblyModulesPluginOptions} options- Returns:
<AsyncWebAssemblyModulesPlugin>
options{AsyncWebAssemblyModulesPluginOptions}
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
{void}
Apply the plugin
renderModule(module, renderContext, hooks): SourceAttributes
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