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