← All stories
● Covered by 1 source · 1 reportMedium impact

Rspack 2.0 launched with performance improvements and leaner dependencies

New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Rspack 2.0, ByteDance's Rust-based JavaScript bundler, has been released, featuring performance enhancements and reduced dependencies. This version offers a pure ESM core, support for React Server Components, and requires Node.js 20.19+.

Key points

  • Rspack 2.0 has a pure ESM core with no CommonJS build.
  • Build performance is up to 100% faster compared to 1.0.
  • @rspack/dev-server dependencies reduced from 192 to 1.

Rspack 2.0 Released

ByteDance has launched Rspack 2.0, enhancing its Rust-based JavaScript bundler with various updates aimed at performance and usability. This release marks a significant evolution for the tool, reflecting its rapid uptake among developers, with weekly npm downloads soaring from around 100,000 to over 5 million.

Performance Gains

Rspack 2.0 boasts a build performance improvement of approximately 10% over version 1.7 and up to 100% faster than version 1.0. On a 10,000 component React project, production builds with persistent cache now complete in 1.4 seconds, down from 5.6 seconds. Hot module replacement time has improved to 118 milliseconds, highlighting Rspack's efficiency.

Reduction in Dependencies

One of the standout features of Rspack 2.0 is the significant reduction in dependencies. The @rspack/dev-server package saw a drop from 192 dependencies to just 1, with its size decreasing from 15 MB to 1.4 MB. This change signals a shift in development philosophy and improves supply chain security.

Modern Module Support

The new version transitions to a pure ESM core, eliminating the CommonJS build. This aligns with Node.js's evolving capabilities, allowing most existing projects to require ESM without changes. Rspack 2.0 integrates support for import.meta and the stage-3 import defer proposal, enhancing module handling and tree shaking effectiveness.

Upgrade Requirements

Developers need to update to Node.js versions 20.19 or 22.12, as support for Node.js 18 has been dropped. Important packages such as @rspack/core and @rspack/plugin-react-refresh should also be updated to version 2.0.0 or beyond. Critical fixes for the 1.x line will continue for a time, but new developments will focus on 2.0.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~39 min · 35 stories · Jul 22

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Rspack 2.0, ByteDance's Rust-based JavaScript bundler, has been released, featuring performance enhancements and reduced dependencies. This version offers a pure ESM core, support for React Server Components, and requires Node.js 20.19+.