What's Changed
New Features 🎉
- feat: introduce new splitChunks config by @chenjiahan in #7073
- feat: remove default
lib-axiossplit from default preset by @chenjiahan in #7079 - feat: support boolean type for server host configuration by @chenjiahan in #7084
- feat: allow to set split chunks for non-web targets by @chenjiahan in #7087
Performance 🚀
- perf: replace createRequire with require from helpers by @chenjiahan in #7071
Bug Fixes 🐞
- fix: correctly read split size config by @chenjiahan in #7076
- fix: allow to disable default
lib-polyfillcache group by @chenjiahan in #7080 - fix(mf): remove unnecessary chunk split rules by @chenjiahan in #7086
Refactor 🔨
- refactor: update rspack import paths by @chenjiahan in #7072
Document 📖
- docs: improve server options description for clarity by @chenjiahan in #7067
- docs(deps): update Rspress to 2.0.0 stable versions by @chenjiahan in #7075
- docs: add splitChunks configuration documentation by @chenjiahan in #7081
- docs: update split chunks related documentation by @chenjiahan in #7085
Other Changes
- chore(deps): update dependency @rsbuild/plugin-babel to ^1.1.0 by @renovate[bot] in #7068
- chore(deps): update dependency @rsbuild/plugin-svelte to ^1.1.0 by @renovate[bot] in #7070
- test: replace performance.chunkSplit with new splitChunks config by @chenjiahan in #7077
- test(e2e): add split-chunks test cases by @chenjiahan in #7078
- chore(deps): update dependency happy-dom to ^20.4.0 by @renovate[bot] in #7082
- chore(deps): update dependency vue-router to v5 by @renovate[bot] in #7083
- release: 2.0.0-beta.0 by @chenjiahan in #7088
Full Changelog: v2.0.0-alpha.4...v2.0.0-beta.0