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