Skip to main content
webpack / wasm / AsyncWebAssemblyModulesPlugin

Class: AsyncWebAssemblyModulesPlugin

Defined in: webpack/types.d.ts:538

Constructors

Constructor

new AsyncWebAssemblyModulesPlugin(options): AsyncWebAssemblyModulesPlugin
Defined in: webpack/types.d.ts:539

Parameters

options
AsyncWebAssemblyModulesPluginOptions

Returns

AsyncWebAssemblyModulesPlugin

Properties

options

options: AsyncWebAssemblyModulesPluginOptions
Defined in: webpack/types.d.ts:540

Methods

apply()

apply(compiler): void
Defined in: webpack/types.d.ts:545 Apply the plugin

Parameters

compiler
Compiler

Returns

void

renderModule()

renderModule(module, renderContext, hooks): Source
Defined in: webpack/types.d.ts:546

Parameters

module
Module
renderContext
WebAssemblyRenderContext
hooks
CompilationHooksAsyncWebAssemblyModulesPlugin

Returns

Source

getCompilationHooks()

static getCompilationHooks(compilation): CompilationHooksAsyncWebAssemblyModulesPlugin
Defined in: webpack/types.d.ts:551

Parameters

compilation
Compilation

Returns

CompilationHooksAsyncWebAssemblyModulesPlugin