Rspack
@rspack
Rstack is a lightning-fast JavaScript toolchain that includes Rspack, Rsbuild, Rslib, Rspress, Rsdoctor, Rstest and Rslint.
Did you know? 🤯 Rspress just hit 100/100 (A+) for agent-friendly docs — Markdown access, llms.txt and more! 💯
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 🦀
Building a library with WebAssembly? 🧙🏻Rslib 1.0 beta supports `.wasm` imports with two output modes for different consumer needs: - `compile` adds runtime loading glue - `preserve` keeps the import for the consumer's bundler Simple source. Consumer-ready output. 🦀
🦀 Rstest now uses Yuku instead of Acorn for V8 coverage parsing. On a real Rsbuild test suite: 8.74s → 3.35s median 378/378 tests passing Unchanged coverage totals A parser swap, with a 61.7% faster coverage run. ⚡️
Turns out Bundlephobia has been using Rspack under the hood for months 👀 bundlephobia.com Fast package analysis, powered by Rspack. Thanks _pastelsky for bringing Rspack to Bundlephobia 🦀
👀 Rspack is coming to the NestJS CLI in v12. Thank you NestJS team and @kammysliwiec. Honored to be part of the NestJS journey 🤝🏻🦀 #NestJS #NodeJS
🦀 Rstest 0.11.0 released 🚀 Breaking changes toward 1.0, with more to come. 🧩 TestOptions → 2nd arg 🎭 Sync-only mock factories 🧹 Flatter pool config 🔀 shard is CLI-only ⚡ 3.34× faster V8 coverage 🕰️ Fake timers on Sinon 15 👀 0.12 will have some interesting stuff.
🥱 Tired of broken anchor links in your docs? Rspress now supports anchor validation for Markdown links. Enable `link.checkAnchors` option to catch broken anchors during `rspress build`. 🦀
🦀 Rspack 2.1 is here! ⚡️ 16% faster builds than 2.0 ⚛️ Rust React Compiler: 7–13× faster than Babel 🎨 Improved built-in CSS 📂 import.meta.glob 🔵 TypeScript 7 RC support 🧩 Source Phase Imports
👀 Glad to see more teams choosing Rspack. CCXT just migrated from webpack to Rspack for bundling: 9.9s → 215ms (~46× faster) ⚡️
🆕 Rstest now supports per-file environment overrides via comments 🦀 Need `jsdom` or `happy-dom` for a specific UI test? Just add a simple docblock comment~ /** * @rstest-environment jsdom */
🦀 Rslint v0.6.0 is here: run ESLint plugins directly! - Use existing ESLint plugins in your Rslint config - 40+ new rules across TS, Jest, a11y, Promise, and React - Unified diagnostics and autofix support
🏖️🦀TanStack Start + Rsbuild is a win-win for both communities 🤝 Rspack users get a full-stack choice: 100% TanStack Start, with router, SSR, RSC, Server functions out of the box TanStack users can adopt the Rspack toolchain for stable bundled dev and first-class MF support
🦀“import.meta.glob” is now available in Rspack Import multiple modules from the file system with glob patterns One consistent glob import syntax across Vite, Turbopack, and Rspack
🌲Rspack's tree shaking just got smarter 🦀 Two recent optimizations remove more unused code: 1. Inlined booleans can make branch-local dependencies inactive 2. Namespace default re-exports now preserve property-level usage More precise bundles, less dead code
❓Did you know you can write “in-source tests” in JavaScript Rstest supports in-source tests — write your test right next to the code. Test code is stripped in production builds. Zero bundle cost. ⚡️ Rust-style DX, now in your JS toolchain 🦀 #JavaScript #Rstest #Rspack
🦀Rstest 0.10.0 released! 🚀 Faster. Leaner. More reliable~ ⚡ worker_threads-based pool 🎯 --changed / --related test runs 💾 Persistent build cache 🧠 Memory-aware worker spawn 🔇 Silent passed test consoles 🔍 Profile test runs with --trace
🦀Rspress v2.0.10 ships a built-in <Prompt /> component Add a one-click AI prompt to your docs with Rspress: - create a new project - pick the right template - run the setup commands - ... AI-native documentation, made easy
🦀 Install any of Rstack Skills instantly: ``` npx skills add rstackjs/agent-skills --skill <skill-name> ``` 15+ Skills covering debugging, tracing, upgrading, and analyzing
Rspack 2.0 has landed 🦀 The growth since 1.0 is wild: 📈 100K → 5M weekly downloads ⚡️ ~100% faster builds 📉 devServer: 192 deps → 1 And new stuff hits hard: 🧩 Pure ESM core, modern ESM library output ⚛️ Experimental RSC support ... Lean, Fast, Modern Web Bundling 🚀
Node.js 20+ and TypeScript 6.0 now let you write subpath imports with a bare "#/*" prefix. Rspack supports it too — so you can map "#/*" directly to ./dist/* (or ./src/*) Clean, familiar, and one step closer to the "@/" bundler experience 🦀 #Rspack #WebDev #JavaScript
Check out the generated themes in the video 👀 🖤 rspress-theme-clarity: github.com/SoonIter/rsp... 🔶 rspress-theme-noir: github.com/SoonIter/rsp...
🆕 Introducing rspress-custom-theme skill 🎨 One prompt → a fully themed docs site + custom homepage ⚡ Generated in seconds, ready to use Try it out👇 ```bash npx skills add rstackjs/agent-skills --skill rspress-custom-theme ``` Learn more 🦀 🔗 github.com/rstackjs/age... 🔗 rspress.rs/guide/start/ai
Smaller Module Federation bundles are here! Rspack 2.0 supports tree-shaking for shared code 🔥
🚀 Rspress 2.0 just dropped! ✨ A brand-new, readability-first theme 🤖 AI-native: built-in `llms.txt` & SSG-MD generation ⚡ Instant dev startup with lazyCompilation and persistentCache 🎨 Shiki code highlighting with transformers Read more👉 rspress.rs/blog/rspress-v2
Rspack and Rsbuild core packages are now pure ESM. Already merged, will be released in v2 🌟