What's Changed
Highlights
Rspack Examples
Rspack configuration examples are moved to rspack-examples.
This repository contains all rspack, rsbuild and rspress configuration examples. Contributions are welcome for expanding the examples.
Resolve
- Deprecated
resolve.browserField
in favor ofresolve.aliasFields
. - Added
resolve.preferAbsolute
,resolve.restrictions
,resolve.roots
andresolve.aliasFields
options
Better module resolution hints
Exciting New Features 🎉
- feat(swc_plugin_import): support camelCase and snake_case (#5283)
- feat: deprecate resolve.browserField and enable resolve.{preferAbsolute,restrictions,roots,aliasFields} (#5223)
- feat: introduce
JavascriptParser
(#5280) - feat: resolve with hint (#5178)
- feat: support module build error (#5286)
Bug Fixes 🐞
- fix: cjs module reexport unused error (#5291)
- fix: fix cli command alias bug (#5307)
- fix: module graph incorrect when delete or create file (#5301)
- fix: should not assume module directories always exist (#5326)
- fix: unregistered case handler should not panic (#5330)
Performance Improvements ⚡
- perf: lazily init help message (#5309)
Chores
- chore(diff): fix diff detail output (#5299)
- chore: add link to rspack-contrib/rspack-examples in README (#5297)
- chore: bump oxlint to v0.2.0 (#5327)
- chore: nightly release alert when failed (#5323)
- chore: remove examples directory (to github.com/rspack-contrib/rspack-examples) (#5296)
- chore: remove unused Rust dependencies (#5312)
- chore: turn off
--bail
--forceExit
--logHeapUsage
from webpack test (#5303) - chore: upgrade Rust to v1.75.0 (nightly) (#5305)
- chore: use pnpm v8 default flags (#5304)
- test: replace error stack in test (#5325)