Home > @lynx-js/template-webpack-plugin > LynxTemplatePlugin

LynxTemplatePlugin class

LynxTemplatePlugin

Signature:

export declare class LynxTemplatePlugin 

Constructors

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

Properties

PropertyModifiersTypeDescription
defaultOptionsstaticReadonly<Required<LynxTemplatePluginOptions>>defaultOptions is the default options that the LynxTemplatePlugin uses.

Methods

MethodModifiersDescription
apply(compiler)The entry point of a webpack plugin.
convertCSSChunksToMap(cssChunks, plugins, enableCSSSelector)staticConvert the css chunks to css map.
getLynxTemplatePluginHooks(compilation)staticReturns all public hooks of the Lynx template webpack plugin for the given compilation