-
-
Notifications
You must be signed in to change notification settings - Fork 862
Description
We use rollup for bundling.
The vast majority of Rollup use today happens as part of vite projects (stats).
The Vite team use rollup for prod builds, because of the larger feature set and flexible plugin system (supports bundle splitting and more), but rollup is really slow compared to a lot of alternatives, so for dev builds esbuild is used instead.
To simplify Vite, the Rolldown projects is in development - it's a rust port of rollup, with compatible api/feature set, and performance superior to esbuild.
We can swap to Rolldown with minimal changes when there's a stable release. It's quite far (Roadmap) in development already - I've tested the latest release in this codebase, and it's getting there.
This would make the CI faster, and tasks that require adjusting and validating the build config many times would be easier: