What's Changed
Breaking Changes 🍭
- fix!(cli): rename env option of inspect command to mode by @chenjiahan in #3140
New Features 🎉
- feat(deps): bump Rspack 1.0.0-beta.3 by @chenjiahan in #3144
- feat: add new
mode
config by @chenjiahan in #3155 - feat: prefer reading the mode config by @chenjiahan in #3156
- feat(CLI): add new
--mode
option by @chenjiahan in #3166 - feat: support for
import.meta.env.MODE
by @chenjiahan in #3168
Bug Fixes 🐞
- fix(plugin-sass): sassOptions type should defaults to modern API by @chenjiahan in #3143
- fix: no need to override Rspack configuration type by @chenjiahan in #3146
- fix(create-rsbuild): failed to override package.json by @chenjiahan in #3151
- fix: define NODE_ENV conflicts when setting mode by @chenjiahan in #3159
Document 📖
- docs: Add pt-BR Readme by @kevenleone in #3145
- docs: add
environment
to glossary by @9aoy in #3149 - docs: add SSR guide by @9aoy in #3148
- docs: add link for Rsbuild 0.x website by @chenjiahan in #3150
- docs: typo fix Lighting → Lightning by @vsn4ik in #3154
- docs: add
mode
config documentation by @chenjiahan in #3157 - docs: unify glossary for development and production modes by @chenjiahan in #3161
- docs: display top level fields in the overview page by @chenjiahan in #3162
Other Changes
- chore(workflow): align PR labels with Rspack by @chenjiahan in #3141
- chore: move helpers to sub folder by @chenjiahan in #3142
- chore: let cspell ignore Portuguese README by @chenjiahan in #3147
- chore: move source code plugin to separate repo by @chenjiahan in #3153
- test(e2e): add more cases for
mode
config by @chenjiahan in #3164
New Contributors
- @kevenleone made their first contribution in #3145
- @vsn4ik made their first contribution in #3154
Full Changelog: v1.0.1-beta.10...v1.0.1-beta.11