Home > @lynx-js/template-webpack-plugin > LynxEncodePlugin
LynxEncodePlugin
Signature:
export declare class LynxEncodePlugin
Constructor
Modifiers
Description
(constructor)(options)
Constructs a new instance of the LynxEncodePlugin class
Property
Type
BEFORE_EMIT_STAGE
static
number
The stage of the beforeEmit hook.
BEFORE_ENCODE_STAGE
The stage of the beforeEncode hook.
defaultOptions
Readonly<Required<LynxEncodePluginOptions>>
defaultOptions is the default options that the LynxEncodePlugin uses.
ENCODE_STAGE
The stage of the encode hook.
options?
protected
LynxEncodePluginOptions | undefined
(Optional)
Method
apply(compiler)
The entry point of a webpack plugin.