E
Just built Vue's SFC playground (~17mb JS output before gzip) using the latest continuous release of rolldown-powered-vite. It's a drop-in replacement. Dev and prod work exactly the same, and the prod build went from 8.51s to 2.95s (~3x speedup) with zero code changes.
17,422,510 views
E
Replying to
@evanyou
Note so far the focus is mostly on compatibility - still many places where we can further reduce overhead compared to raw Rolldown!
6,950 views
E
Replying to
@evanyou
Also another important note: I realized the speedup isn't as impressive because the Vue SFC playground is an interesting case of small number of big modules: the project is 53 modules only with a few huge pre-bundled chunks (vue/repl bundles the monaco editor) from dependencies.
6,950 views
Replies
E
Replying to
@evanyou
This limits the parallelization advantage of a Rust bundler vs a JS one. In projects that have thousands of modules, the speedup will be *much* more siginificant.
6,950 views