Home > @lynx-js/template-webpack-plugin > LynxTemplatePlugin
LynxTemplatePlugin
Signature:
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the LynxTemplatePlugin class |
Property | Modifiers | Type | Description |
---|---|---|---|
defaultOptions | static | Readonly<Required<LynxTemplatePluginOptions>> | defaultOptions is the default options that the LynxTemplatePlugin uses. |
Method | Modifiers | Description |
---|---|---|
apply(compiler) | The entry point of a webpack plugin. | |
convertCSSChunksToMap(cssChunks, plugins, enableCSSSelector) | static | Convert the css chunks to css map. |
getLynxTemplatePluginHooks(compilation) | static | Returns all public hooks of the Lynx template webpack plugin for the given compilation |