Home > @lynx-js/lynx-bundle-rslib-config > MainThreadRuntimeWrapperWebpackPlugin

MainThreadRuntimeWrapperWebpackPlugin class

Webpack plugin that wraps main-thread runtime modules for external bundles.

Signature:

export declare class MainThreadRuntimeWrapperWebpackPlugin

Constructors

ConstructorDescription
new MainThreadRuntimeWrapperWebpackPlugin(options?)Constructs a new instance of MainThreadRuntimeWrapperWebpackPlugin.

Methods

MethodReturn TypeDescription
apply(compiler)voidApply the plugin to the compiler.
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.