Frontend Development 16 min read

Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance

Rspack 1.0, the Rust‑implemented next‑generation JavaScript bundler compatible with webpack APIs, launches with major performance gains, broader plugin compatibility, smaller bundle sizes, Module Federation 2.0 support, and a roadmap that includes faster HMR, portable caches, and deeper TypeScript integration.

ByteDance Web Infra
ByteDance Web Infra
ByteDance Web Infra
Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance

Release Announcement

Rspack 1.0 is now officially released. Built with Rust, it offers a next‑generation JavaScript bundling experience that is compatible with the webpack ecosystem while delivering up to ten times the build speed of webpack.

Adoption

Since its open‑source debut, Rspack has been adopted by many enterprises and developers in production. Weekly npm downloads have surpassed 100 000, and within ByteDance the tool sees over 400 000 weekly downloads across more than 1 000 web applications such as TikTok, Douyin, Feishu, and Coze.

Major companies including Microsoft, Amazon, Alibaba, Intuit, Bit.dev, and Discord are also using Rspack, benefiting from faster builds and smoother migrations.

New Features

Extreme Performance

As a Rust‑based bundler, Rspack has continuously improved performance since version 0.1, adding lazy compilation and other core optimizations. Benchmarks show a significant speed increase from 0.1 to 1.0, and further performance gains are planned.

Improved Compatibility

Early versions supported only a limited set of webpack APIs and required forks of community plugins. Today Rspack implements most webpack loaders and plugins, and works with frameworks such as React, Preact, Vue, Solid, Svelte, and NestJS. Community plugins like unplugin and node-polyfill-webpack-plugin have been integrated.

Smaller Bundle Size

Rspack now provides full split‑chunks, tree‑shaking, scope hoisting, and export mangling. In many cases the output size matches or slightly beats webpack; a medium‑size web app saw bundle size drop from 6600 KB to 5900 KB after upgrading.

Module Federation 2.0

Rspack co‑developed Module Federation 2.0, adding dynamic TypeScript hints, a runtime plugin system, devtools, and deployment protocols, while retaining full compatibility with Module Federation 1.0.

Stable API and New Documentation Site

Configuration, JavaScript API, and plugin API stability have been enhanced, and a redesigned documentation homepage has been launched.

Why Rspack?

Among recent Rust‑based bundlers, Rspack stands out for its blend of top‑tier performance, flexibility, and compatibility. Its goals are to enable gradual migration from webpack, support all JavaScript runtimes (including Deno, Electron, and mini‑programs), and provide an easy‑to‑use toolchain via Rsbuild, Rspress, Rsdoctor, and Rslib.

Rspack Stack

The Rspack Stack consists of:

Rspack – the high‑performance core bundler.

Rsbuild – an out‑of‑the‑box web‑app builder.

Rslib – a library‑focused build tool producing high‑quality ESM and CJS artifacts.

Rspress – a static‑site generator supporting MDX.

Rsdoctor – a build‑analysis tool for diagnosing bundling issues.

Future Roadmap

Key upcoming capabilities include faster HMR, portable caches, deeper TypeScript optimizations (e.g., treating TypeScript as a first‑class citizen and enabling type‑based property renaming), a stable Rust API, React Server Components support, and improved ESM output.

FAQ

What does the 1.0 release mean?

Rspack now implements the core webpack functionality with a stable API, and the 1.x series will maintain API stability for the next 12‑18 months.

When will Rsbuild 1.0 be released?

Rsbuild 1.0 is planned for early September, with a 1.0 RC already available.

Does Rspack follow semver?

Yes. Minor and patch releases will not introduce breaking public API changes, though experimental features may evolve.

JavaScriptfrontend developmentRustBundlerwebpack compatibility
ByteDance Web Infra
Written by

ByteDance Web Infra

ByteDance Web Infra team, focused on delivering excellent technical solutions, building an open tech ecosystem, and advancing front-end technology within the company and the industry | The best way to predict the future is to create it

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.