What's Changed
Breaking Change 💡
Rsbuild 1.0.0-alpha.4 set output.polyfill to 'off'
by default, this can reduce the polyfill code and generate smaller bundles by default.
If your application need polyfill, please set output.polyfill
to 'usage'
or 'entry'
:
// rsbuild.config.ts
export default {
output: {
polyfill: 'usage'
}
};
See the vote on Twitter: https://x.com/rspack_dev/status/1808439138439274780
New Features 🎉
- feat(deps): bump Rspack 1.0.0-alpha.1 by @chenjiahan in #2803
Performance 🚀
- perf: prefer using dynamic import to load config by @chenjiahan in #2809
Document 📖
Other Changes
- chore: move css minimizer plugin to separate repo by @chenjiahan in #2801
- chore: move eslint plugin to separate repo by @chenjiahan in #2805
- chore(deps): update dependency ws to ^8.18.0 by @renovate in #2807
- chore(deps): update eslint by @renovate in #2808
- chore: sort type exports by @chenjiahan in #2810
Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4