Breaking changes in Rsbuild v0.5.0 #1732
Replies: 3 comments 6 replies
-
output.disableMinimizeRename
export default {
output: {
disableMinimize: true,
}
};
export default {
output: {
minify: false,
}
}; See #1681 for more details. |
Beta Was this translation helpful? Give feedback.
-
@rsbuild/plugin-svgrRemove
|
Beta Was this translation helpful? Give feedback.
-
New Tree ShakingRsbuild v0.5.0 will enable the Rspack's new tree shaking in production build. This will significantly optimize the tree shaking algorithm, making the bundle size smaller in the production build. If you encounter any issues with the new tree shaking in your project, you can report it to the Rspack repository through an issue. You can also manually switch to old tree shaking: // rsbuild.config.ts
import { defineConfig } from '@rsbuild/core';
export default defineConfig({
tools: {
rspack: {
experiments: {
rspackFuture: {
newTreeshaking: false,
},
},
},
},
}); |
Beta Was this translation helpful? Give feedback.
-
This thread is used to collect planned breaking changes for Rsbuild v0.5.0.
Beta Was this translation helpful? Give feedback.
All reactions