For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/runtime-wrapper-webpack-plugin.runtimewrapperwebpackplugin.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/runtime-wrapper-webpack-plugin > RuntimeWrapperWebpackPlugin

RuntimeWrapperWebpackPlugin class

RuntimeWrapperWebpackPlugin adds runtime wrappers to JavaScript and allow to be loaded by Lynx.

Signature:

declare class RuntimeWrapperWebpackPlugin 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the RuntimeWrapperWebpackPlugin class

Properties

Property

Modifiers

Type

Description

defaultOptions

static

Readonly<Required<RuntimeWrapperWebpackPluginOptions>>

defaultOptions is the default options that the RuntimeWrapperWebpackPlugin uses.

Methods

Method

Modifiers

Description

apply(compiler)

The entry point of a webpack plugin.