Clem 🦋 @clem.codes
734 posts

Clem 🦋 @clem.codes
@clemcodes
Decoding the HTML source code since 2011 / Staff engineer @helloasso & teacher @ECV_Digital_Bdx / previously @nuxtlabs @webians









Vue packages bundled with Rolldown is now passing all Vue ecosystem tests! github.com/vuejs/ecosyste… Vue's use of Rollup is non-trivial, involving almost every aspect of library bundling: monorepo resolution, multiple output formats, advanced treeshaking, mixed cjs/esm. The downstream dependencies in our ecosystem CI tests also cover a wide range of usage scenarios, helping us verify the correctness of Rolldown's bundle output. The switch to Rolldown required only minor tweaks to a pretty complex Rollup config (github.com/vuejs/core/blo…), and notably removed the need for 5 Rollup plugins (commonjs, node-resolve, json, esbuild, alias - replace also can be removed soon). The Rollup build was already fast with esbuild transforms + swc minification, but the Rolldown build can be up to 20x faster depending on the package, and will keep getting even faster. There are still some minor bundle size optimizations we are working on, but this marks a big step for Rolldown being usable as a library bundler. The Vite integration is also going well in parallel, and we'll share more at ViteConf (register at viteconf.org)!






NuxtHub is now in public beta ✨ hub.nuxt.com/blog/beta






