Home > @lynx-js/runtime-wrapper-webpack-plugin > RuntimeWrapperWebpackPlugin
RuntimeWrapperWebpackPlugin adds runtime wrappers to JavaScript and allow to be loaded by Lynx.
Signature:
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(options) | Constructs a new instance of the RuntimeWrapperWebpackPlugin class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| defaultOptions | static | Readonly<Required<RuntimeWrapperWebpackPluginOptions>> | defaultOptions is the default options that the RuntimeWrapperWebpackPlugin uses. |
| Method | Modifiers | Description |
|---|---|---|
| apply(compiler) | The entry point of a webpack plugin. |