Rspack

1.2K posts

Rspack banner
Rspack

Rspack

@rspack_dev

Rstack is a lightning-fast JavaScript toolchain that includes Rspack, Rsbuild, Rslib, Rspress, Rsdoctor, Rstest and Rslint.

Katılım Ocak 2023
9 Takip Edilen8.9K Takipçiler
Rspack
Rspack@rspack_dev·
🌲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
Rspack tweet media
English
1
22
140
7.4K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
@unvalley_ Rslint uses the rs prefix because it’s part of Rstack, it follows the same naming style. It’s mostly written in Go today because it builds on tsgo, but Rust and TS will likely be part of the project as we expand language support and ESLint plugin compatibility.
English
1
2
17
2.4K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Rsbuild now supports `output.autoExternal`. Previously only available in Rslib, it automatically externalizes dependencies from package.json. It can now be used in Rsbuild for SSR, Node.js apps, and more.
Jiahan Chen tweet media
English
2
5
44
3.7K
Rspack
Rspack@rspack_dev·
❓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
Rspack tweet media
English
13
26
207
80K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Rsbuild now supports Vite-compatible worker query imports, including `?worker` and `?worker&inline`. Inline workers can be useful when you need to avoid cross-origin restrictions.
Jiahan Chen tweet media
English
3
4
46
3K
Rspack retweetledi
Yelp Engineering
Yelp Engineering@YelpEngineering·
We reduced our JS build times by ~52% by migrating from Webpack to Rspack! Check out this post by Benson P and dive into how we optimized bundle speed, handled config migration, and made our dev workflow faster at scale 👉bit.ly/4nJbCaa
Yelp Engineering tweet media
English
0
4
12
1.5K
Rspack
Rspack@rspack_dev·
🦀🪩Let’s Rspack ’n’ roll ~
Rspack tweet media
English
2
3
38
1.4K
Rspack
Rspack@rspack_dev·
🦀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
Rspack tweet media
English
5
25
177
18K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Rsbuild CLI just got ~10-20ms faster. The change was small: removed `process.title = "rsbuild-node"`. We originally used it to make Rsbuild processes easier to identify during profiling, but the native call adds measurable startup overhead 😂
Jiahan Chen tweet media
English
3
5
79
7.2K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Large-scale AI migration is changing how we think about rewrites. Looking back at Rspack, rewriting webpack in Rust was never just about translating code. When we rewrote webpack in Rust, many of us were still learning Rust, webpack internals, or both. The project itself became a training ground. People grew into experts. We re-examined webpack’s design choices. We found Rust-native implementations. We contributed back to projects like webpack core, plugins, NAPI, SWC and Lightning CSS. The final result was not just “webpack in Rust”. It was a team, an ecosystem, and a new generation of bundler expertise.
English
2
10
93
4.8K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Things get wild when @hardfist_1 uses Codex. He just made SWC parser 20% faster and minifier 10% faster 🤯
Jiahan Chen tweet mediaJiahan Chen tweet media
English
1
15
82
6.8K
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
Released eslint-rspack-plugin v5.0.0 🚀 - Rewritten in TypeScript - Pure ESM package - Install size reduced by 91% - Drop ESLint v8, flat config by default - New severity option
Jiahan Chen tweet media
English
4
9
65
5.9K
Rspack retweetledi
Webiny Enterprise CMS+ ⚡️
We’ve been quietly modernizing our internal dev toolchain, and with @rspack_dev’s rslib now replacing babel for Webiny package builds, the migration is finally done! rsbuild took over from webpack. @OxcProject’s oxlint from eslint and oxfmt from prettier. And now rslib from babel. Faster builds, fewer dependencies, way less config to maintain. The pipeline finally feels like one coherent thing instead of a stack of tools glued together over the years. 🙂
English
0
2
4
1.2K
Rspack retweetledi
yifan_cong
yifan_cong@yifan56737904·
Rsdoctor provides @rsdoctor/agent-cli to better work with Rsdoctor skills for discovering and resolving build issues.
GIF
English
1
3
11
994
Rspack retweetledi
Jiahan Chen
Jiahan Chen@jiahan_c·
I love how the rs prefix makes all our config files stay neatly together
Jiahan Chen tweet media
English
3
1
28
2.5K