Rspack: A High‑Performance Rust‑Based Web Build Tool – Announcement and Roadmap
Rspack, a Rust‑written web bundler from ByteDance, is officially released as an open‑source project offering dramatically faster dev and build times, strong Webpack compatibility, flexible configuration, and a roadmap that includes richer loader support, advanced caching, plugin APIs, and quality‑assurance measures.
We are excited to announce the official release of Rspack!
Rspack is a Rust‑based web build tool incubated by the ByteDance Web Infra team, featuring high performance, compatibility with the Webpack ecosystem, and strong configurability, which solves many problems encountered in large‑scale front‑end applications and significantly improves developer experience.
To involve more contributors, we have open‑sourced Rspack and welcome community participation.
Why build Rspack?
Good dev start performance : The command npm run dev is run many times daily; large projects can take up to 10 minutes per run, making dev‑start speed optimization crucial.
Good build performance : The command npm run build runs frequently in CI/CD, determining production delivery efficiency; some applications currently require 20‑30 minutes to build.
Flexible configuration : User projects have diverse configurations, and migrating from Webpack to other bundlers often loses Webpack’s flexibility.
Production artifact optimization : Existing community solutions sometimes produce sub‑optimal production bundles, such as insufficient code splitting.
After identifying these four needs and researching existing solutions, we found none that fully satisfied us, so we decided to develop Rspack ourselves.
Current stage of Rspack
Rspack has been under development for about 11 months. Although still early, our tests show a 5‑10× compilation speed improvement, and performance continues to increase as we add more common features.
Rspack already supports the Webpack loader architecture, allowing the use of many familiar loaders such as babel-loader , less-loader , svgr , and eventually vue-loader .
Cache support is currently limited to in‑memory caching; future plans include disk‑level caching, cross‑device sharing, and migration to boost cache reuse for large applications.
As a low‑level infrastructure, Rspack needs to integrate with higher‑level frameworks. It has already been adopted by various ByteDance internal frameworks, and external collaborations are beginning, with an official partnership with Webpack established.
Acknowledgements
Rspack’s development benefited from many open‑source projects and individuals, including the Webpack team and community, @sokra, @ScriptedAlchemy, SWC, esbuild, NAPI‑RS, Parcel, Vite, Rolldown, html‑webpack‑plugin, and Turbopack.
Future Plans
Improve core capabilities
We will continue to enrich Rspack’s basic features based on community feedback to cover more build scenarios.
Collaborate with community partners
We aim to support framework teams that wish to leverage Rspack’s performance advantages; interested parties can contact us via the official website.
Official site: https://rspack.dev
Enhance plugin capabilities
Rspack currently supports most Loader APIs and a subset of Webpack Plugin APIs. We are exploring high‑performance plugin communication and plan to provide a dynamic, high‑performance plugin system.
Continue performance improvements
We will maintain Rspack’s performance focus by expanding performance monitoring, preventing regressions, employing concurrent/multi‑core algorithms, building a cross‑platform cache system, and reducing memory usage.
Build a quality assurance system
We will reuse Webpack’s extensive test suite, improve CI, co‑build an ecosystem CI with community projects, and ensure compatibility and long‑term health while increasing test coverage.
Try Rspack
Repository: https://github.com/web-infra-dev/rspack
Quick Start guide: https://rspack.dev/guide/quick-start.html
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
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.