Home > @lynx-js/css-extract-webpack-plugin > CssExtractWebpackPlugin
CssExtractWebpackPlugin is the CSS extract plugin for Lynx. It works just like the MiniCssExtractPlugin in Web.
Signature:
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the CssExtractWebpackPlugin class |
Property | Modifiers | Type | Description |
---|---|---|---|
defaultOptions | static | Readonly<Required<CssExtractWebpackPluginOptions>> | defaultOptions is the default options that the CssExtractWebpackPlugin uses. |
loader | static | string | The loader to extract CSS. |
Method | Modifiers | Description |
---|---|---|
apply(compiler) | The entry point of a webpack plugin. |