tools.cssExtract
- Type:
- Default:
- Version:
>= 0.7.0
Rsbuild uses the CssExtractRspackPlugin plugin by default to extract CSS into separate files.
The options for CssExtractRspackPlugin can be changed through tools.cssExtract.
pluginOptions
- Type:
CssExtractRspackPluginOptions - Example:
rsbuild.config.ts
loaderOptions
- Type:
CssExtractRspackLoaderOptions - Example:
rsbuild.config.ts
Please refer to the CssExtractRspackPlugin plugin documentation to learn about all available options.

