Is your feature request related to a problem? Please describe.
Rollup is a very slow JS-based bundler. Build times with npm run watch take a while to rebuild all the AdvantageScope bundles (approximately 60 seconds on my m4 macbook air)
Describe the solution you'd like
Rolldown is a rust-based bundler with the same plugin API as rollup, which should make it fairly easy to replace. Some quick and dirty local testing shows that it takes a bit over 1 second to bundle everything, a ~45x speedup.
Describe alternatives you've considered
- Watching only the bundle that I'm predominantly working on, but that means any work done in other bundles needs a manual compile run. The hub bundle on its own is still slow, taking ~2 seconds to compile.
- Switch to swc (loses type checking)
- Switch to esbuild (has a different plugin system)
- Wait for TS 7 and hope Go fixes everything
Is your feature request related to a problem? Please describe.
Rollup is a very slow JS-based bundler. Build times with
npm run watchtake a while to rebuild all the AdvantageScope bundles (approximately 60 seconds on my m4 macbook air)Describe the solution you'd like
Rolldown is a rust-based bundler with the same plugin API as rollup, which should make it fairly easy to replace. Some quick and dirty local testing shows that it takes a bit over 1 second to bundle everything, a ~45x speedup.
Describe alternatives you've considered