Post

⚡️ The first Vite 8.0 beta is here! - Powered by Rolldown, bringing significantly faster production builds and more consistency - New features such as tsconfig paths or emitDecoratorMetadata support - Bumping browser targets aligned with Baseline Widely Available Read more in our announcement post!

voidzero.devVite 8 Beta: The Rolldown-powered ViteThe first beta of Vite 8, powered by Rolldown, is now available. Vite 8 ships significantly faster production builds and unlocks future improvement possibilities. Read more about the migration, new fe...

43 reposts226 likes

I'm sure this has been asked many times, (github.com/rolldown/tsd...) but as someone who's relatively new to publishing libraries, is there a good resource for understanding when I'd reach for Rolldown vs tsdown vs Vite (Library Mode)? Is there a decision tree I should be using to decide?

My two cents for library bundling: * Use tsdown in most cases * If you need super customized or an even more programmatic setup use Rolldown * Current Vite lib mode is the last choice - only if you do need Vite-specific functionalities FYI: tsdown will be the base of the future Vite lib mode!

Thanks for this explanation! One additional question, when tsdown is fully integrated into Vite lib mode, does it make sense to swap to Vite? Or would I keep using tsdown directly?