new AsyncWebAssemblyModulesPlugin(options): AsyncWebAssemblyModulesPluginAttributes
Creates an instance of AsyncWebAssemblyModulesPlugin.
Attributes
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
<void>Applies the plugin by registering its hooks on the compiler.
renderModule(module, renderContext, hooks): SourceAttributes
Renders the newly generated source from rendering.
Attributes
compilation:
<Compilation>Returns the attached hooks.
Attributes
mangleImports:
<boolean>mangle imports
renderModuleContent<SyncWaterfallHook><<Tuple><<Source>,<Module>,<WebAssemblyRenderContext>>,<Source>>
Attributes
chunk:
<Chunk>the chunk
chunkGraph:
<ChunkGraph>the chunk graph
codeGenerationResults:
<CodeGenerationResults>results of code generation
dependencyTemplates:
<DependencyTemplates>the dependency templates
moduleGraph:
<ModuleGraph>the module graph
runtimeTemplate:
<RuntimeTemplate>the runtime template