Made a small quality-of-life update to Vite+.
Now if you mix up the argument order with pnpm-style flags, it'll suggest the right command and let you run it right away.
Just got merged, so it should be in the next release.
https://t.co/BA8OEy9x5Z
The next Rolldown release adds `maxDuplicatedSize` to Inline Common Chunks.
Inlining cuts requests, but in big apps pages can fetch the same code more than once. This caps how much code is copied.
Thanks to @mattlewis92_ from ClickUp for building it!
@cloudflare/oxlint-config is on npm.
Oxlint rules for JavaScript and TypeScript. Inspired by @dillon_mulroy's anti-slop rules and built on @cnakazawa's nkzw config.
Type-aware checks run on the new tsrs beta.
https://t.co/Rfgew66dUG
Rolldown’s adding new features to make your app better. If you use Vite/Rolldown then follow these accounts for updates:
- @hyfdev: Inline common chunks > users loads apps faster with less chunks
- @IWANABETHATGUY2: Perf kit > give coding agents app startup data to better optimize performance
- @_h_ana___: Build cache > speed up repeat builds especially in JS plugin heavy apps
To share some of the support I received as a Vite+ core team member, I'm now sponsoring a few more OSS maintainers who help keep the ecosystem going.
Grateful to be part of this community! 🙌
We're working to make inline common chunks work with CSS, so pages load fewer files.
Right now, Vite users have to exclude CSS from inlining, so a shared chunk with CSS stays a separate file.
Next: the CSS gets inlined along with the JS as well!
End of my 2nd month at Cursor and things have ramped up 10x. 2700 PRs landed. +4.47M/-3.87M LOC.
This last month was mainly:
- More standardisation work:
---- oxfmt is now the only FE formatter we use
---- oxlint is now at ~99% coverage with the remaining 1% using ESLint for custom type-aware rules.
---- standardising on vitest (mostly migrating a handful of usages of node:test)
- Codebase modernisation
---- Migrating a bunch of JS code across to TS
---- Migrating a bunch of code from CJS to ESM
---- Various core library major bumps
- Migrating more and more of the FE codebase from Turbo to Bazel
This month I also created my own `/brad-mode` skill (layered on top of `/poteto-mode`) which adds some features to help me manage projects and reduce risk.
I've been using @raft_hq for a month to maintain rolldown, and it completely changed how I work.
PRs from contributors no longer sit for weeks waiting on me, and old PRs I kept putting off are finally getting merged or closed.
https://t.co/olOv21hUiY
Rolldown v1.3.3 is out 🎉
- Fix external imports not following source order in builds with multiple chunks
- Fix `import()` resolving to extra keys when other chunks import from the same chunk
- Fix a memory leak that kept plugins alive after `bundle.close()` when a plugin keeps `this`
- More bug fixes and improvements
https://t.co/wjmRmtiVrL