Deprecated options
This page lists configuration options that have been deprecated in Rspack.
These options are kept for backward compatibility only and should not be used in new projects.
experiments.css
Stability: Deprecated
- Type:
boolean - Default:
false
Deprecated
This option is deprecated since Rspack 2.0. Users now need to manually add CSS rules to enable CSS support. In a future version, Rspack will automatically add CSS-related default rules.
Migration
To use CSS in Rspack 2.0, you need to manually add CSS rules to your configuration:
rspack.config.mjs
Legacy usage (deprecated)
rspack.config.mjs
experiments.incremental
Stability: Deprecated
This option has been moved to top-level incremental.
rules[].loaders
An array to pass the loader package name and its options.
Warning
This option has been deprecated. Use rules[].use instead.

