These are the remaining configuration options supported by rspack.
boolean
false
Fail out on the first error instead of tolerating it. By default Rspack will log these errors in red in the terminal, as well as the browser console when using HMR, but continue bundling. To enable it:
This will force Rspack to exit its bundling process.
string[]
undefined
A list of name defining all sibling configurations it depends on. Dependent configurations need to be compiled first.
In watch mode dependencies will invalidate the compiler when:
Remember that current configuration will not compile until its dependencies are done.
(RegExp | ((warning: Error, Compilation: Compilation) => boolean))[]
undefined
Tells Rspack to ignore specific warnings.
string
undefined
Name of the configuration. Used when loading multiple configurations.