In the next version of Rolldown, you can automatically clean up the previous build when rebuilding by setting `output.cleanDir` to true 🧹
Thanks to @aprosail for the contribution!
github.com/rolldown/rol...
rolldown.rs Fast Rust-based bundler for JavaScript, designed to power @vite.dev, developed by voidzero.dev