Jiahan Chen reposted
Jiahan Chen
Jiahan Chen
@chenjiahan.bsky.social
Creator of Rstack & Vant · Rstack lead @rspack.dev · Building JS tooling at ByteDance
260 followers167 following248 posts
Excited to see a Cloudflare plugin for Rsbuild! Give it a try with TanStack Start and share your feedback github.com/james-elicx/...
Jiahan Chen reposted
We started Rsdoctor by visualizing build data for human developers. Now AI agents do much of the optimization work, so we’re making Rsdoctor more agent-friendly by giving them access to that data through our CLI
🦀 Rsdoctor 2.0 is here! ⚡ 40–60% faster analysis 📦 56% smaller install size 🤖 Agent-driven build analysis 🧩 One report for multi-compiler builds Explore what’s new 👇 rsdoctor.rs/blog/release...
Jiahan Chen reposted
🦀 Rsdoctor 2.0 is here! ⚡ 40–60% faster analysis 📦 56% smaller install size 🤖 Agent-driven build analysis 🧩 One report for multi-compiler builds Explore what’s new 👇 rsdoctor.rs/blog/release...
Looks like Bun uses its own Rust type checker for type-aware linting. We built Rslint on typescript-go for fewer type-checking surprises. That’s why Rslint is mostly written in Go. I wish TypeScript native were written in Rust. It’d make the tooling ecosystem more unified
👀 `bun lint` and `bun format` just landed - 600k+ lines added in one PR - 1,000+ built-in lint rules - Fast (of course) github.com/oven-sh/bun/...
👀 `bun lint` and `bun format` just landed - 600k+ lines added in one PR - 1,000+ built-in lint rules - Fast (of course) github.com/oven-sh/bun/...
Jiahan Chen reposted
Jiahan Chen reposted
Codex also made circular versions of our Grokbot-style avatars. Available in our design resources repo: github.com/rstackjs/rst...
Check out the RFC for more details on how it works and the trade-offs involved: github.com/web-infra-de...
Jiahan Chen reposted
Our teammate built a Chrome extension that makes it super easy to see what tech stack a website uses: github.com/swwind/web-s...
We originally built Rslib to unify ByteDance’s web apps and JS libs around Rspack. Getting there wasn’t easy. Rspack inherited an architecture primarily designed for bundling apps, so we made many improvements to produce clean ESM for libs.
🦀 Rslib 1.0 is here! 📦 Multiple output formats, including Module Federation 🔀 Bundled or bundleless ⚛️ Component libraries across frameworks 🎨 Built-in CSS and asset support 🔵 TypeScript 7 support for fast declarations See what's new in Rslib 1.0 👇 rslib.rs/blog/v1-0
Jiahan Chen reposted
🦀 Rslib 1.0 is here! 📦 Multiple output formats, including Module Federation 🔀 Bundled or bundleless ⚛️ Component libraries across frameworks 🎨 Built-in CSS and asset support 🔵 TypeScript 7 support for fast declarations See what's new in Rslib 1.0 👇 rslib.rs/blog/v1-0
Interesting to see ESLint exploring a unified JS/TS parsing toolkit. Our approach in Rslint is to treat the TS 7 parser/compiler as the single source of truth. Linting and type checking share the same program, so each file only needs to be parsed once, and its AST can be reused
The RFC 'feat: New JavaScript/TypeScript parsing toolkit' is now in the Initial Commenting phase. https://github.com/eslin...
Cool to see Sentry already trying Rspack 2.2's new compact ID strategy, cutting gzipped JS by 152KiB. If all goes well, it'll be the default in a future minor release. We made a silly API typo and used "compat" instead of "compact". Guess we'll support both names😂
🦀 Rspack 2.2.0 is out! 30+ performance optimizations: ⚡ Production build ~5% faster 🎨 CSS parsing 3.7× faster 📁 CopyRspackPlugin 3–4× faster 🔥 HMR skips unnecessary CSS ~385 → ~6 ms rspack.rs/blog/announc...
And Rstack ecosystem keeps shipping: 🦀 Rsbuild — Solid v2 support, Octane template 🦀 Rstest — Playwright E2E, Module Federation 🦀 Rslint — 500+ native rules, JS API 🦀 Rslib — TypeScript 7 support, v1.0 soon 🦀 Rspress — 100/100 agent-friendly score
🦀 Rspack 2.2.0 is out! 30+ performance optimizations: ⚡ Production build ~5% faster 🎨 CSS parsing 3.7× faster 📁 CopyRspackPlugin 3–4× faster 🔥 HMR skips unnecessary CSS ~385 → ~6 ms rspack.rs/blog/announc...
Jiahan Chen reposted
🦀 Rspack 2.2.0 is out! 30+ performance optimizations: ⚡ Production build ~5% faster 🎨 CSS parsing 3.7× faster 📁 CopyRspackPlugin 3–4× faster 🔥 HMR skips unnecessary CSS ~385 → ~6 ms rspack.rs/blog/announc...
I used to see chunk splitting mainly as a browser optimization. This case showed me that chunk splitting can also benefit SSR builds with many route chunks. Thanks to @wulianwen1 for the feedback and the benchmark case: github.com/childrentime...
The TypeScript content mappers PR just merged and is likely to land in 7.1 🎉 This could open a new chapter for everything built on and around TypeScript github.com/microsoft/ty...
The ecosystem is already moving: - MDX content mapper: github.com/remcohaszing... - Vize (Vue) content mapper: github.com/ubugeeei-pro...
Already using the Rstack Agent Plugin. Nice to see Codex automatically reach for the Rspress custom theme skill when I asked it to tweak my site’s UI
Meet the Rstack Agent Plugin. 🔌 Built on Agent Plugins 1.0, it works across supported agent clients, including: 👉 GitHub Copilot 👉 Codex 👉 Cursor and more Install one plugin to get the complete collection of Rstack skills 🦀
Jiahan Chen reposted
GitLab plans to replace webpack with Rspack as the single engine across dev, prod, and CI 👀 Benchmarks results: 🍃 Prod build: 26× faster 🍃 Dev startup: 7× faster 🍃 Emitted JS: 25% smaller 🍃 Peak memory: 23% lower gitlab.com/gitlab-org/g...