Rspack.LightningcssLoaderOptions | Function | booleanRspack.LightningcssLoaderOptions | Function | booleanonly support rspackYou can configure builtin:lightningcss-loader through tools.lightningcssLoader.
Set tools.lightningcssLoader to true to enable Rsbuild's built-in lightningcss-loader:
At this time, the default configuration is as follows:
It should be noted that when lightningcss-loader is turned on, postcss-loader will be turned off by default.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - tools.lightningcssLoader.