What's Changed
New Features 🎉
- feat: add sources param to api.processAssets by @chenjiahan in #2987
- feat: support add plugins for specified environment by @9aoy in #2986
- feat: more plugins support used as environment plugin by @9aoy in #2994
- feat: add environments as a filter of
api.processAssets
by @chenjiahan in #3009 - feat: enable inline chunks based on conditions through output options by @Thulof in #3000
Bug Fixes 🐞
- fix: webSocket stats message conflict when multiple web environment by @9aoy in #2989
- fix: modify the criteria for verifying the Rsdoctor plugin by @easy1090 in #2992
- fix: only listen to process exit when onExit hook is used by @chenjiahan in #2998
- fix: css-loader type declaration is outdated by @chenjiahan in #3001
Document 📖
- docs: add
api.processAssets
API by @chenjiahan in #2993 - docs: update modifyEnvironmentConfig example code by @9aoy in #2995
- docs: correct onAfterCreateCompiler example by @9aoy in #2996
- docs(instance.mdx): adjust the references by @hasnum-stack in #3003
- docs: distinguish between rspack watchOptions and rsbuild watchFiles configuration by @9aoy in #3004
- docs: fix build typo in the benchmark by @chenjiahan in #3008
- docs: add tips for inline scripts in production mode by @chenjiahan in #3012
Other Changes
- refactor: implement assets retry via Rsbuild plugin hooks by @chenjiahan in #2990
- chore(deps): update eslint by @renovate in #2981
- test(e2e): try to fix CI failures by @chenjiahan in #2997
- test: add e2e case for onExit hook by @chenjiahan in #2999
- test(e2e): enable test case for browserslist extends by @chenjiahan in #3010
- chore: use Node.js built-in isRegExp util by @chenjiahan in #3011
- chore(deps): update dependency sass-loader to v15 by @renovate in #3015
- chore(deps): update dependency yaml to ^2.5.0 by @renovate in #3014
Full Changelog: v1.0.1-beta.4...v1.0.1-beta.5