Rolldown
@rolldown_rs
Fast Rust-based bundler for JavaScript with Rollup-compatible API.
Top-level-var support Did you know that @rolldown_rs supports converting your top-level variables to `var`? It seems weird at first, but is actually helpful - and your output is still ESM and modern code! The transform *can* improve performance due to avoiding "temporal dead…
👀 @angular is adopting @rolldown_rs for their experimental chunk optimization feature. Super curious to see the build speed improvements over Rollup and what else is in the cards for Rolldown & Angular! github.com/angular/angula…
oxlint + tsgolint = no slow down! no-floating-promises completes 4.4k files in 3.2 seconds, in the vscode repo. typescript-go is the future, all credits to the ts-go team! We just glued everything together 😀 github.com/microsoft/type…
The Oxc team just cracked two things: - JS custom rules, with ESLint compatible API. We invested heavily into the underlying implementation to make it fast without the typical data-passing drawback of JS-in-native plugins. More details soon! - Type-aware rules. Full coverage…
Explicit Compile Hints in @rolldown_rs, for the record. github.com/rolldown/rolld…
👀👀👀
⚡ Speaker highlight: Evan You ViteConf wouldn’t be the same without @youyuxi creator of @vuejs & @vite_js. His talks always drop major news (hello @rolldown_js & @VoidZeroDev!). This year, he'll reveal how Vite is evolving beyond a build tool - into a full Rust-based toolchain,…
TIL this one weird trick from @sapphi_red - PIFE for faster V8 parsing: github.com/oxc-project/ox… ...which improves the startup time of the rolldown-vite bundle by 2x: github.com/rolldown/rolld… Hire people smarter than you to work on the problem you want to solve!
✨ Node.js: Now with Rolldown? Yes - to some degree! @rolldown_rs is planned to power the future API documentation generator of @nodejs. More info in the linked PR! github.com/nodejs/api-doc…
🚨 Speaker Alert! 🚨 We're incredibly proud to bring together an exceptional group of speakers who are pushing the boundaries of web development with @vite_js. Over the next few days, we'll be highlighting each incredible speaker who will be on our ViteConf 2025 stage in…
22.3x faster builds?! I noticed that @getoutline started using rolldown-vite (per Evan's tweet) but they didn't use the experimental native plugins. So I sent a PR to enable them. Build time went down to 2.12s on CI. That's a 22.3x speedup compared to the original 47.27s 🔥…
Example: PR: github.com/outline/outlin… Bundle size: -5.28% initial JS loaded app.relative-ci.com/projects/TMquf… Build: 47.27s -> 5.40s (8.8x faster!) Installing deps now takes longer than the actual build 😂
Did you know that Rolldown-Vite supports tsconfig path resolution out of the box? Use the path resolutions defined in your tsconfig by setting `resolve.tsconfigPaths` The only requirement? You must use native plugins, either only the resolver or all No extra plugin needed 🙌
A follow up to this: we have shipped CJS treeshaking in Rolldown 1.0-beta.23! (currently behind an option) When both using swc as minifier, Rolldown & Rolldown-Vite now produce roughly the same min+gzipped size as rsbuild: github.com/chenjiahan/rea… oxc-minify (alpha status) still…
A bit of clarification: this bundle is not just react-router-dom - it actually bundles two CJS deps: cookie and react itself. The size difference mostly comes down to CJS treeshaking. Rspack indeed has some pretty impressive optimizations for CJS treeshaking. Rolldown hasn't…
I’ve worked with the talented team at @voidzerodev over the last months to enable migrating @linear to Rolldown-Vite. A production build of the Linear client now takes 13 seconds. That’s bundling 10320 modules with a fair amount of complexity. ⚡️ (1) 3.5x faster production…
The @rolldown_rs-powered @vite_js version is out for a while, giving 2~16x build speed improvements! If you ever wondered how to switch, then no worries. I show you how in less than 90 seconds! Also, one more goodie for @reactjs users (switching to the Oxc-based Vite plugin)
In the past two months, we've been working with a high-profile, large-scale Vite project to test and optimize Rolldown-Vite for production. After getting the massive project to successfully build on Rolldown-Vite, we've landed improvements in @rolldown_rs that have gotten the…
See you all at JSNation US 🙌🏻🙌🏻
Shape Framework Futures With Modern Tooling at the talk by @TheAlexLichter – @voidzerodev & @nuxt_js team member. Learn to: 🔧 Use Rust-powered tools like @rolldown_rs and Oxc 🧩 Understand where frontend tooling is headed next 🧰 Unlock out-of-the-box performance
Big cheers to the JSNation OSS Awards winners🎉 🏆Breakthrough of the Year: @rolldown_rs 🚀Most Exciting Tech: @tan_stack Form 🛠️Productivity Booster: @zodtypes 🤖Powered by AI: @micro__agent 🌍Community of the Year: @meetjs A lovely part of JSNation💛youtube.com/live/mQ9jSzh7g…
Woot! Thank you for the recognition! More improvements to come!
Big cheers to the JSNation OSS Awards winners🎉 🏆Breakthrough of the Year: @rolldown_rs 🚀Most Exciting Tech: @tan_stack Form 🛠️Productivity Booster: @zodtypes 🤖Powered by AI: @micro__agent 🌍Community of the Year: @meetjs A lovely part of JSNation💛youtube.com/live/mQ9jSzh7g…
You can now play with @rolldown_rs directly in the browser via the official REPL: repl.rolldown.rs (great work by @sanxiaozhizi) Supports selecting versions as well - please use this for bug reproductions :)