Rolldown's Avatar

Rolldown

@rolldown.rs

https://rolldown.rs/ Fast Rust-based bundler for JavaScript, designed to power @vite.dev, developed by voidzero.dev

2,768
Followers
25
Following
25
Posts
08.11.2024
Joined
Posts Following

Latest posts by Rolldown @rolldown.rs

SvelteKit 2 now fully supports Vite 8

SvelteKit 3 will require it - giving additional optimizations and functionality. E.g. SvelteKit 3 will use @rolldown.rs hook filters to spend more compilation time in rust and less in JavaScript. And SvelteKit 3 adapters use only rolldown without esbuild

27.02.2026 00:40 πŸ‘ 97 πŸ” 11 πŸ’¬ 1 πŸ“Œ 1
Post image

Rolldown can panic sometimes... but we make sure you never have to!

It's rare, but when it happens, you won't be staring at a cryptic stack trace. @rolldown.rs straight up tells you it is not your code. And a link to report it so we can fix it fast.

Good error messages => good DX

05.02.2026 22:03 πŸ‘ 30 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

✨ What's New in ViteLand: January 2026 Recap

β—† Unified redesign across all VoidZero sites
β—† @vite.dev crossed 3 billion npm downloads
β—† @rolldown.rs reached RC status
β—† Lazy Barrel Optimization landed in Rolldown
β—† Oxfmt hit 100% Prettier conformance
β—† ...and more πŸ‘€

voidzero.dev/posts/whats-...

05.02.2026 13:38 πŸ‘ 47 πŸ” 5 πŸ’¬ 1 πŸ“Œ 1
Post image

The State of JS 2025 results are out!

πŸ† Most Adopted Tech β†’ Vitest
πŸ† Highest Satisfaction β†’ Vite (98%) & Vitest (97%)
πŸ† Highest Interest β†’ Vitest (83%) & Rolldown (80%)

But that's not all!

A thread 🧡

04.02.2026 13:39 πŸ‘ 68 πŸ” 15 πŸ’¬ 2 πŸ“Œ 0
Rolldown - Lazy Barrel Optimization

Rolldown - Lazy Barrel Optimization

πŸš€ Lazy Barrel Optimization in Rolldown

Barrel files, files that re-export from other modules, are common in modern JavaScript projects but a nightmare for your build time.
Rolldown now has Lazy Barrel Optimization to fix this.

Here's how it works 🧡

03.02.2026 16:40 πŸ‘ 85 πŸ” 12 πŸ’¬ 2 πŸ“Œ 5
Preview
Rolldown | Rust bundler for JavaScript Fast Rust-based bundler for JavaScript with Rollup-compatible API

πŸ” @rolldown.rs can now automatically discover your tsconfig, similar to how @vite.dev does it, respecting `references`.

The feature was available beforehand but is now enabled by default!
Don't want auto discovery? Then provide a path to another config

More in the docs
rolldown.rs/reference/In...

27.01.2026 10:10 πŸ‘ 33 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0

✨

22.01.2026 14:32 πŸ‘ 21 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
13.01.2026 10:46 πŸ‘ 14 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Image saying "Automatically clean up the previous Rolldown build" and showing the following code:

import { defineConfig } from 'rolldown'

export default defineConfig({
  output: {
    dir: './dist'.
    cleanDir: true,
  }
})

Image saying "Automatically clean up the previous Rolldown build" and showing the following code: import { defineConfig } from 'rolldown' export default defineConfig({ output: { dir: './dist'. cleanDir: true, } })

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...

16.10.2025 12:37 πŸ‘ 16 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Watch VoidZero's @thealexlichter.com spill the tea about @rolldown.rs and bundlers. Why bundlers are needed and how come @vite.dev is migrating to Rolldown in Vite 8.

Full video in comment πŸ‘‡

16.10.2025 02:29 πŸ‘ 26 πŸ” 5 πŸ’¬ 2 πŸ“Œ 0
Preview
fix(rolldown): sync scoping properly in pre_process_ecma_ast by Boshen Β· Pull Request #6537 Β· rolldown/rolldown We need to recreate scoping after each transformation step because none of the steps syncs scoping at present, which is a huge waste that we should fix later in the future. But in the interim, defi...

In the next version of Rolldown, bundling will be ~10% faster πŸŽ‰

This was achieved by optimizing the semantic scoping process

Internal plugins like define and inject now flag when they haven't changed the AST, allowing to skip redundant scope recreation

github.com/rolldown/rol...

15.10.2025 14:37 πŸ‘ 54 πŸ” 2 πŸ’¬ 1 πŸ“Œ 1

Rolldown πŸ‘€

15.10.2025 12:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Partial list of PRs to Oxc which improved performance, grouped by field.

Full list: https://gist.github.com/Boshen/7ee09b4cd22fcb8146b75f55c5ac5321

Partial list of PRs to Oxc which improved performance, grouped by field. Full list: https://gist.github.com/Boshen/7ee09b4cd22fcb8146b75f55c5ac5321

Building performant tools doesn't happen by accident. They need a strong foundation!

@rolldown.rs and @vite.dev 8 are powered by Oxc for that reason

We've evaluated all previous PRs that went into the Oxidation compiler, 290 of them improving performance

This is what foundational work looks like!

24.09.2025 05:35 πŸ‘ 66 πŸ” 7 πŸ’¬ 2 πŸ“Œ 1

Said no one ever πŸ‘€

29.09.2025 21:59 πŸ‘ 12 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Another beta - another bunch of improvements πŸ”₯

Also includes changes from the latest Oxc version!

22.09.2025 15:42 πŸ‘ 20 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Faster on Windows βœ”

14.09.2025 18:25 πŸ‘ 25 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Rolldown drops CJS support!

From the latest version of @rolldown.rs (1.0.0-beta.36) on, Rolldown will only be released in the ESM format.

The required Node version has also been bumped to align with @vite.dev (20.19+ and 22.12+). Node 18 has been dropped due to being EOL since April.

08.09.2025 12:40 πŸ‘ 83 πŸ” 7 πŸ’¬ 5 πŸ“Œ 2
A screenshot from the tsup repository showing a text above the heading: "Warning: This project is not actively maintained anymore. Please consider using tsdown instead. Read more in the migration guide".

A screenshot from the tsup repository showing a text above the heading: "Warning: This project is not actively maintained anymore. Please consider using tsdown instead. Read more in the migration guide".

tsup is not actively maintained anymore πŸ‘€

With >9M NPM monthly downloads and >10k GitHub stars, tsup is undeniably a popular choice for bundling. Unfortunately, it is not under active maintenance anymore.

Thanks to @egoist.dev & contributors for all the work on tsup πŸ™πŸ»

15.08.2025 07:55 πŸ‘ 68 πŸ” 9 πŸ’¬ 4 πŸ“Œ 0
Preview
Rolldown Integration Next Generation Frontend Tooling

In the latest @rolldown.rs powered @vite.dev version, we've enabled the rust-based resolver plugin by default!
This will lead to even faster builds in case you don't use the experimental native plugins yet.

Wanna try out more native core plugins? Then enable them and make sure to use rolldown-vite

11.08.2025 16:30 πŸ‘ 54 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0
Post image

`oxlint --type-aware`. Mic drop.

It's incomplete and have numerous problems, including a noticeable performance issue.

BUT, you can finally see your floating promises quickly!

Example PR: github.com/rolldown/rol...
Problems: t.co/K7ZVnPjOPL

07.08.2025 15:53 πŸ‘ 111 πŸ” 14 πŸ’¬ 3 πŸ“Œ 4

Remember how @gitlab.com got 2.6x faster builds and ~100x less memory consumption when using @rolldown.rs?

Now, with all the native plugins enabled, they are down to 22s. That is ~7x faster than Vite, ~half the time compared to using native resolver before and 43x faster than their webpack build πŸ”₯

08.08.2025 15:59 πŸ‘ 47 πŸ” 5 πŸ’¬ 2 πŸ“Œ 0
Preview
What’s New in ViteLand: July 2025 Recap July 2025 brings exciting updates in the Vite ecosystem, including the release of Vite 7, Rolldown's new features, and the upcoming ViteConf in Amsterdam. Discover the latest news in Vite, Vitest, Oxc...

What's new in ViteLand?
Our July 2025 recap is out.

πŸŽ‰ Announcing 1st in-person @viteconf.org in Amsterdam
πŸ“ˆ @vite.dev surpassing webpack's downloads
⏩ Major performance boosts for @rolldown.rs
πŸ”₯ Type-aware linting & custom rules for Oxlint
πŸ‘€ and more

Read the post: voidzero.dev/posts/whats-...

05.08.2025 06:49 πŸ‘ 60 πŸ” 11 πŸ’¬ 0 πŸ“Œ 1
Three code tabs: The source "index.ts" that includes just "const a = 1; console.log(a)". The config of rolldown showing that "output.topLevelVar" is set to true, and eventually the transformed code that shows "var a = 1" instead of the expected "const a = 1"

Three code tabs: The source "index.ts" that includes just "const a = 1; console.log(a)". The config of rolldown showing that "output.topLevelVar" is set to true, and eventually the transformed code that shows "var a = 1" instead of the expected "const a = 1"

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 perf due to avoiding "temporal dead zone" checks of VMs that can cause slowdowns up to 1000%

24.07.2025 15:34 πŸ‘ 21 πŸ” 2 πŸ’¬ 2 πŸ“Œ 0

πŸ‘€πŸ‘€πŸ‘€

17.07.2025 15:53 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
feat: use PIFE for callbacks passed to `__esmMin` wrapper by sapphi-red Β· Pull Request #5319 Β· rolldown/rolldown This PR changes the generated code to use PIFE for callbacks passed to __esmMin wrapper. This improved the start up runtime performance by 2.1x in the case I tested. I tested this change on https:/...

Wow! @sapphi.red just made @rolldown.rs Vite's startup time 2x quicker.

How? By dealing with PIFEs and optimizing for the v8 engine, also coming to Oxc πŸ‘€

Everyone knows IIFEs but PIFEs? 😁
Really impressed by such deep knowledge πŸ‘

17.07.2025 13:35 πŸ‘ 55 πŸ” 9 πŸ’¬ 0 πŸ“Œ 1
Preview
feat(web): add web generator by avivkeller Β· Pull Request #285 Β· nodejs/api-docs-tooling Fixes #7. This PR adds the web generator. Tasks / Issues P1 – Must Complete Before Merge Add more items (anyone can do this as they review1) P2 – Must complete before migration Add more items ...

✨ Node.js: Now with Rolldown?
Yes - to some degree!

@rolldown.rs is planned to power the future API documentation generator of @nodejs.org.

More info in the linked PR!

github.com/nodejs/api-d...

16.07.2025 20:26 πŸ‘ 27 πŸ” 7 πŸ’¬ 1 πŸ“Œ 0
Video thumbnail

🚨 Speaker Alert 🚨

We're incredibly proud to bring together an exceptional group of speakers who are pushing the boundaries of web development with @vite.dev

Over the next few days, we'll be highlighting the incredible speakers who will be on our stage on Oct 9-10!

Stay tuned πŸš€

viteconf.amsterdam

16.07.2025 12:54 πŸ‘ 26 πŸ” 8 πŸ’¬ 1 πŸ“Œ 2
Picture of VS Code with an open minimal Vite project. The Vite config only sets `experimental.enableNativePlugin` to "resolver" with a comment saying "// or true, either is necessary", and "resolve.tsconfigPaths" to true.

The tsconfig.json has `compilerOptions.paths` set to `{ "app/*": ["./src/app/*"]`. Eventually, the path resolution is used automatically (wtih autocomplete too!) in src/main.ts when using `import { App } from "app/my-app.ts`, instead of `import { App } from "./src/app/my-app.ts"`!

Picture of VS Code with an open minimal Vite project. The Vite config only sets `experimental.enableNativePlugin` to "resolver" with a comment saying "// or true, either is necessary", and "resolve.tsconfigPaths" to true. The tsconfig.json has `compilerOptions.paths` set to `{ "app/*": ["./src/app/*"]`. Eventually, the path resolution is used automatically (wtih autocomplete too!) in src/main.ts when using `import { App } from "app/my-app.ts`, instead of `import { App } from "./src/app/my-app.ts"`!

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 πŸ™Œ

11.07.2025 12:35 πŸ‘ 48 πŸ” 6 πŸ’¬ 2 πŸ“Œ 2
Preview
Add rolldown-vite support by sapphi-red Β· Pull Request #128 Β· davidmyersdev/vite-plugin-node-polyfills While this plugin mostly works with rolldown-vite, there are a few areas where it could leverage Rolldown's built-in features to improve performance. This PR includes the following changes: Us...

The new v0.24 of vite-plugin-node-polyfills now uses more of @rolldown.rs's built-in features, e.g. inject, which improves performance when detecting it is running via the Rolldown-powered @vite.dev! πŸ™Œ

More in the PR from @sapphi.red

07.07.2025 21:18 πŸ‘ 25 πŸ” 6 πŸ’¬ 0 πŸ“Œ 1
Video thumbnail

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 React users (switching to the Oxc-based Vite plugin)

30.06.2025 15:09 πŸ‘ 26 πŸ” 4 πŸ’¬ 1 πŸ“Œ 0