Yunfei He (@hyfdev) header
Yunfei He (@hyfdev) profile picture

builder @rolldown_rs at @voidzerodev (now @cloudflare). prev @rspack_dev. i write rust, ship js, love vue, lose to video games. 中文 @hyfdev_cn.

Singapore
Joined April 2019
Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)Photo by Yunfei He (@hyfdev)
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
In the next version of Rolldown, inline common chunks reduces more chunks! Previously, If a module is imported statically in one place and lazy-loaded with import() in another, it always got its own chunk. Now it can be inlined into the file that imports it, and the import() stays lazy.
1
2
23
Yunfei He retweeted
Vite+ 1.6.0 is out 🎉 - vp run caches tasks that rewrite files they read - vp run --dry-run and --json preview a run without running it - vp check --continue-on-error reports every failed check - Oxlint 1.93 and Oxfmt 0.78 Upgrade: vp upgrade github.com/voidzero-dev/vite…
1
9
4
78
4,359
Big thanks to @irvinebroque, @danieljvdm, @jongkyung_dev, and agarwalla-chirag for their first contributions to Rolldown! 🎉
Rolldown v1.3.2 is out 🎉 - Support `__dirname` and `__filename` in CommonJS modules bundled to ESM for Node - Fix unused shared chunks kept by `if (DEV)` checks when `DEV` is imported - Fix a memory leak that kept plugins alive after a build finished - More bug fixes and improvements github.com/rolldown/rolldown…
1
25
642
Yunfei He retweeted
We are giving agents as much data as they need to improve Core Web Vitals, including Chrome code coverage. App startup time, FCP and LCP are being significantly improved internally. rolldown.rs/in-depth/perf-ki…
6
14
144
8,650
Yunfei He retweeted
When we joined @cloudflare, we announced a $1M fund for the open source ecosystem around @vite_js. Today we're distributing the first $301,300 to 44 projects and maintainers, from critical dependencies to contributors. No project thrives in isolation 💜 All details in our blog post blog.cloudflare.com/launchin…
8
47
7
479
31,984
Yunfei He retweeted
Cloudflare is distributing $301,300 to open source projects & maintainers. This is the first round of sponsorships from the $1M Vite ecosystem fund we committed to earlier this year. The recipients were selected by a panel of Vite, Vitest, Rolldown, Oxc, Vite+ core team members including maintainers not employed by Cloudflare. Open source is more important than ever as agents make software development more accessible & widespread. These financial sponsorships are a small thank you & recognition for all the hard work. We’ll continue to sponsor more open source maintainers in upcoming quarters. blog.cloudflare.com/launchin…
7
15
3
90
10,044
Yunfei He retweeted
Rolldown v1.3.1 is out 🎉 Another huge performance boost for Rolldown. Big thanks to @mattlewis92_ and @yagiznizipli for their contributions! 🙏
6
17
1
184
9,719
Replying to @ronbmp @hyfdev
Yes, this works with Vite 8. Set `build.rolldownOptions.devtools` to `{ mode: 'report' }` in your Vite config. `perf-kit` then works on the built app, and for Workers it requires `@cloudflare/vite-plugin`. Vite 8.3.6 still uses Rolldown 1.2, so the report does not include `chunk-graph.json` or the list of hooks that did no work until Vite moves to 1.3.
66
I want to highlight "perf-kit", a new Rolldown tool that helps a coding agent make your app start faster: - web pages - Node.js and Deno servers - Cloudflare Workers The agent keeps tuning your code based on Rolldown's data. Great work from @IWANABETHATGUY2!
Rolldown v1.3.0 is out 🎉 Rolldown now has experimental support for import attributes. Try it with `experimental.importAttributes: true`. We also released a new package, `@rolldown/perf-kit`. It builds on Rolldown's build report to help coding agents find what slows your app down. On 3 open-source Cloudflare Workers, an agent using perf-kit made startup up to 30× faster than the same agent working alone, while spending 60% less on tokens. This release also includes lots of bug fixes and improvements!
8
9
59
2,022
Yunfei He retweeted
X web now running on Vite!
The web rewrite is working. On a slow connection, the old X web took more than 22 seconds to show the first post on a profile. The new X web does it in 2.7 seconds. Here's how we did it, and how we're rolling it out one country at a time. blog.x.com/en/engineering/re…
13
46
2
1,075
61,532
To clarify: the 26× is only the step where Rolldown prepares plugin changes for Rust, not the whole hook. In the PR's benchmark on a Vite-like build with 2,182 chunks, the whole `generateBundle` phase went from 1,256ms to 752ms, about 40% faster.
2
279
In case you don't know: x.com is now in Vite/Rolldown! Checkout xitter.twitterapi.xyz/yagiznizipli/status/21…
The web rewrite is working. On a slow connection, the old X web took more than 22 seconds to show the first post on a profile. The new X web does it in 2.7 seconds. Here's how we did it, and how we're rolling it out one country at a time. blog.x.com/en/engineering/re…
1
1
10
523
In the next version of Rolldown, plugin changes from `generateBundle` and `writeBundle` sync back to Rust on demand: only what changed is sent. Preparing them in a large Vite app: 1,015ms → 39ms, 26× faster. Thanks @yagiznizipli for the contribution!
9
10
2
128
12,184
Yunfei He retweeted
Tales from the Void: October 2026 Recap is out 🎉 - tsrs: our Rust port of @TypeScript, up to 8x faster - The Void SDK and platform are open sourced - @vitest_dev 5.1 is out and can rerun only affected tests - The first @ViteConf talks are on YouTube - and more from the community 👀 voidzero.dev/posts/whats-new…
26
6
189
20,118
Yunfei He retweeted
Rolldown v1.3.0 is out 🎉 Rolldown now has experimental support for import attributes. Try it with `experimental.importAttributes: true`. We also released a new package, `@rolldown/perf-kit`. It builds on Rolldown's build report to help coding agents find what slows your app down. On 3 open-source Cloudflare Workers, an agent using perf-kit made startup up to 30× faster than the same agent working alone, while spending 60% less on tokens. This release also includes lots of bug fixes and improvements!
10
22
4
183
13,087
The web rewrite is working. On a slow connection, the old X web took more than 22 seconds to show the first post on a profile. The new X web does it in 2.7 seconds. Here's how we did it, and how we're rolling it out one country at a time. blog.x.com/en/engineering/re…
287
363
163
5,056
1,049,947
Thanks too! Huge inspiration from your previous PR. We are aiming to stabilize this feature this Q4.
1
2
113