It is recommended to enable SourceMap for production environments to facilitate debugging in production environments. If you have a large project, it is recommended that you choose a configuration with better performance (see devtool for more options), such as the source-map
configuration option.
Rspack uses the built-in minimizer to compress JavaScript and CSS code by default, which can be configured by builtins.minifyOptions. If the built-in minimizer cannot meet your needs, you can use optimization.minimizer to set a custom minimizer.