We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c2f2b commit 0e6bbe4Copy full SHA for 0e6bbe4
config/rspack.config.js
@@ -188,10 +188,11 @@ module.exports = (webpackEnv, argv) => {
188
},
189
optimization: {
190
minimizer: [
191
- // Disable compress as it has some bugs, i.e. when using arquero#from it fails if no names are passed.
+ // Disable compress and mangle as it has some bugs, i.e. when using arquero#from it fails if no names are passed.
192
// See https://github.com/web-infra-dev/rspack/issues/4980 for a discussion.
193
new SwcJsMinimizerRspackPlugin({
194
compress: false,
195
+ mangle: false,
196
}),
197
new SwcCssMinimizerRspackPlugin(),
198
],
0 commit comments