Class: CssExtractRspackPlugin
CssExtractRspackPlugin is the CSS extract plugin for Lynx. It works just like the CssExtractRspackPlugin in Web.
Example
Constructors
Constructor
new CssExtractRspackPlugin(
options?:CssExtractRspackPluginOptions):CssExtractRspackPlugin
Parameters
Returns
CssExtractRspackPlugin
Properties
defaultOptions
staticdefaultOptions:Readonly<CssExtractRspackPluginOptions&Pick<Required<CssExtractRspackPluginOptions>,"cssPlugins">>
defaultOptions is the default options that the CssExtractRspackPlugin uses.
loader
staticloader:string
The loader to extract CSS.
Remarks
It should be used with the 'css-loader'.
Example
Methods
apply()
apply(
compiler:Compiler):void
The entry point of a webpack plugin.
Parameters
Returns
void