Build

I tried migrating a real project from Vite to Rspack. The build time reduced from 125 seconds to 17 seconds, and the page refresh speed during development increased by 64%. However, the HMR (Hot Module Replacement) in Rspack is much slower compared to Vite.

If you frequently trigger HMR during development and refresh the page less often, Vite still offers a better development experience. For complex projects where refreshing the page is more common, Rspack provides a better development experience.

Comparison

There are so many frontend build tools out there: RollDown, Rollup, Rspack, Vite…

Just a sneak peek; stay tuned for the detailed comparison.


Note: This article is a translated version of the original post. For the most accurate and up-to-date information, please refer to the original source.
```