Highlights 💡
Lazy compilation by default 🚀
Rsbuild now enables lazy compilation for dynamic imports by default (dev.lazyCompilation.imports is now set to true
for web
target). If your application contains many dynamic imports, you'll notice faster dev server startup.
If you encounter any issues related to lazy compilation, you can disable it by setting dev.lazyCompilation
to false
, or feel free to report them via GitHub Issues.
What's Changed
New Features 🎉
- feat: add experimental ESM output support for node target by @chenjiahan in #5823
- feat: enable lazyCompilation.imports by default by @GiveMe-A-Name in #5824
Bug Fixes 🐞
- fix(server): adjust indentation in debug log message by @chenjiahan in #5826
- fix(hmr): remove redundant condition check by @chenjiahan in #5828
- fix: update lazyCompilation config to fix deprecation warning by @chenjiahan in #5829
Document 📖
- docs: mention Rspack's default split chunks strategy by @chenjiahan in #5821
Other Changes
- chore: update externals in Rslib config for postcss-load-config by @chenjiahan in #5822
- release: 1.5.0-beta.1 by @chenjiahan in #5832
Full Changelog: v1.5.0-beta.0...v1.5.0-beta.1