On this page

Validates and enables named wasm loading backends by applying the plugin implementations that provide their runtime support.

new EnableWasmLoadingPlugin(type): EnableWasmLoadingPlugin
Attributes
type:string
library type that should be available

Stores the wasm loading backend name that should be enabled for the compiler.

Attributes
type:string
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Enables the requested wasm loading backend once and applies the environment-specific plugins that provide its parser, generator, and runtime support.


Attributes
compiler:Compiler
the compiler instance
type:string
type of library
Returns:void

Verifies that a wasm loading type has been enabled before code generation attempts to use it.


Attributes
compiler:Compiler
the compiler instance
type:string
type of library
Returns:void

Marks a custom or built-in wasm loading type as enabled for the compiler without applying additional built-in behavior.