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

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the RuntimeWrapperWebpackPlugin class

Properties

PropertyModifiersTypeDescription
defaultOptionsstaticReadonly<Required<RuntimeWrapperWebpackPluginOptions>>defaultOptions is the default options that the RuntimeWrapperWebpackPlugin uses.

Methods

MethodModifiersDescription
apply(compiler)The entry point of a webpack plugin.