Rspack 0.4.0 is out!
Read the announcement blog post: Announcing Rspack 0.4.
Overview
- Rsbuild v0.1: an enhanced Rspack CLI
- Drop NodeJS 14 Support
- @rspack/core is now a peer dependency
- OXC Resolver by default!
- Deprecating builtins.react.refresh
- Deprecating builtin:sass-loader
- Refactored export API in @rspack/core
- and more...
Migrating from v0.3
Check out our migration guide for in-depth migration details.
What's Changed
Performance Improvements ⚡
Exciting New Features 🎉
- feat: support
ContextDependency
by @bvanjoi in #4682 - feat: support optimization.nodeEnv by @SyMind in #4698
- feat:
experiments.incrementalRebuild
add deprecation warning by @jerrykingxyz in #4727
Bug Fixes 🐞
- fix(webpack-test): fix the slow 5 seconds test by @Boshen in #4694
- fix(webpack-test): fix the 1 second slow test by @Boshen in #4695
- fix: @swc/jest type error by @ahabhgk in #4705
- fix: export StatsCompilation by @ahabhgk in #4709
- fix: remove default export by @ahabhgk in #4728
- fix(resolver): make sure package.json path is inside the resolved path by @Boshen in #4730
Other Changes
- chore: bump dev webpack from 5.76.0 to 5.89.0 by @LingyuCoder in #4688
- chore: run webpack tests in parallel by @Boshen in #4691
- chore: skip show sccache stats by @jerrykingxyz in #4707
- chore: pnpm set cache dir by version by @jerrykingxyz in #4719
Full Changelog: v0.3.14...v0.4.0