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