Planned breaking changes for Rsbuild 2.0 #5275
Replies: 9 comments 7 replies
-
Remove the built-in webpack-bundle-analyzerIn the early versions of Rsbuild, we built-in the Related: |
Beta Was this translation helpful? Give feedback.
-
Re-design
|
Beta Was this translation helpful? Give feedback.
-
Remove deprecated APIsConfiguration
JavaScript API
|
Beta Was this translation helpful? Give feedback.
-
Make
|
Beta Was this translation helpful? Give feedback.
-
Default host change to
|
Beta Was this translation helpful? Give feedback.
-
Drop support for Node.js 18As Node.js 18 reached its end-of-life on April 30, 2025, Rsbuild 2.0 will no longer support this version. The minimum supported version will be Node.js 20.19. |
Beta Was this translation helpful? Give feedback.
-
Do not minify Node bundlesFor Node targets, production builds no longer enable minification by default. Server bundles prioritize debuggability, clear stack traces, and stable runtime behavior over bundle size. Minification remains available as an explicit opt-in via |
Beta Was this translation helpful? Give feedback.
-
Pure ESM package
In Node.js 20 and later, the runtime natively supports loading ESM modules via |
Beta Was this translation helpful? Give feedback.
-
ESM Node bundlesChanges the default value of To preserve the v1 behavior (outputting CommonJS bundles), set // rsbuild.config.ts
export default {
output: {
module: false,
target: 'node',
},
}; |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This topic is used to collect and discuss breaking changes planned for Rsbuild 2.0.
Please note that we do not have a clear timeline for Rsbuild 2.0 yet.
Beta Was this translation helpful? Give feedback.
All reactions