Rspack's Avatar

Rspack

@rspack.dev.bsky.social

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

877 Followers  |  2 Following  |  144 Posts  |  Joined: 31.10.2024  |  1.7132

Latest posts by rspack.dev on Bluesky

A new RFC for Rspack's barrel file optimization ๐Ÿ‘€
github.com/web-infra-de...

05.08.2025 04:01 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Spent the day migrating all Rsbuild npm packages to npm's new trusted publishing feature. Simple setup, no more long-lived tokens needed. Love it! ๐Ÿฅฐ

04.08.2025 15:17 โ€” ๐Ÿ‘ 9    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 2
Preview
GitHub - rspack-contrib/rspack-repl: Rspack REPL Rspack REPL. Contribute to rspack-contrib/rspack-repl development by creating an account on GitHub.

The REPL is still in its early stages, but you can already try it out: repl.rspack.rs

GitHub repo: github.com/rspack-contr...

04.08.2025 09:42 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

We're building an Rspack REPL powered by @rspack/browser. Try out Rspack builds in your browser and easily share results with the community.

04.08.2025 09:40 โ€” ๐Ÿ‘ 7    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
Preview
feat: lazy make for reexport in side effects free barrel file by ahabhgk ยท Pull Request #11117 ยท web-infra-dev/rspack Summary Lazy make for reexport (export { a, b as c } from "./x", export * as d from "./x", export * from "./x") in side effects free ("sideEffects": false in...

PR: github.com/web-infra-de...

01.08.2025 10:09 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

What is a barrel file: vercel.com/blog/how-we-...

01.08.2025 10:08 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Rspack v1.5 will introduce an experimental optimization that skips building unused reexports in side-effect-free barrel files.

This reduces the build time of `import { Button } from 'antd'` from 528ms to 82ms.

01.08.2025 10:07 โ€” ๐Ÿ‘ 29    ๐Ÿ” 5    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Preview
Release v1.4.11 ยท web-infra-dev/rspack What's Changed Performance Improvements โšก perf: parallelize analyze module graph by @LingyuCoder in #11153 perf: enhance native watcher with customizable ignore patterns by @GiveMe-A-Name in #1114...

Full changelog: github.com/web-infra-de...

31.07.2025 09:59 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Rspack v1.4.11 is out:

โšก๏ธ 12 perf improvements
๐Ÿž 14 bug fixes

We're starting work on v1.5.0 โ€” stay tuned ๐Ÿ‘€

31.07.2025 09:58 โ€” ๐Ÿ‘ 11    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

One of our community partners replaced webpack with Rspack in a popular web framework in China. Here are the benefits reported by users:

- 5x faster dev, build, and HMR
- 1.1MB smaller bundles

30.07.2025 13:48 โ€” ๐Ÿ‘ 8    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
feat(wasm): support `@rspack/browser` by CPunisher ยท Pull Request #10870 ยท web-infra-dev/rspack Summary In Rspack 1.4, we successfully compiled @rspack/binding to wasm32-wasip1-threads and enabled support for WebContainers. The goal of this PR is to remove the reliance on WebContainers by pro...

PR: github.com/web-infra-de...

28.07.2025 07:54 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

@rspack/browser is cooking ๐Ÿณ๐Ÿง‘โ€๐Ÿณ

28.07.2025 07:53 โ€” ๐Ÿ‘ 10    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Rsbuild's next release will reduce startup time by ~25ms ๐Ÿฅณ

25.07.2025 09:26 โ€” ๐Ÿ‘ 8    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Release v1.4.10 ยท web-infra-dev/rspack Highlights ๐Ÿ’ก โœจ 30% smaller Wasm bundle (38.9MB โ†’ 27.2MB) โšก 4x faster tree shaking analysis in large projects What's Changed Performance Improvements โšก perf: parallelize flag usage plugin by @Li...

Release note: github.com/web-infra-de...

24.07.2025 08:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Rspack v1.4.10 is here:

โœจ 30% smaller Wasm bundle (38.9MB โ†’ 27.2MB)
โšก 4x faster tree shaking analysis in large projects

24.07.2025 08:39 โ€” ๐Ÿ‘ 12    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
GitHub - web-infra-dev/awesome-rspack: A curated list of awesome things related to Rstack. A curated list of awesome things related to Rstack. - web-infra-dev/awesome-rspack

Respect for everything the Rspack team has been doing the past year and a half. If you're interested in the Rspack/Rsbuild ecosystem, check out the Awesome Rspack repo for links to great resources courtesy of @rspack.dev.

github.com/web-infra-de...

23.07.2025 16:47 โ€” ๐Ÿ‘ 3    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Rspack v1.4.9 is out: ๐ŸŽ‰

We optimized Rust dependencies and build flags, reducing install size across all platforms. More size improvements are coming soon. ๐Ÿ€

22.07.2025 09:50 โ€” ๐Ÿ‘ 13    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

In the next release, Rspack will be able to emit errors for duplicate ESM exports:

21.07.2025 23:02 โ€” ๐Ÿ‘ 6    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

๐Ÿš€ Rspack v1.4.8 is out!

We've implemented a Rust watcher to replace the original watchpack package, making HMR ~10% faster.

Combined with lazy compilation for lightning-fast dev experience โšก

16.07.2025 06:34 โ€” ๐Ÿ‘ 21    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
perf: memorize exclude function in webpack config by SyMind ยท Pull Request #81525 ยท vercel/next.js During JavaScript profiling, I identified repeated calls to the exclude function in the webpack configuration and implemented caching to optimize it. I tested the performance using the chakra-ui-d...

While investigating @rspack.dev performance in Next.js, SyMind found a simple opportunity to add caching that speeds up webpack >6%! github.com/vercel/next....

An awesome contribution for those still stuck on webpack.

15.07.2025 20:26 โ€” ๐Ÿ‘ 7    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Run comparison - swc-project/swc - CodSpeed CodSpeed integrates into dev and CI workflows to measure performance, detect regressions, and enable actionable optimizations.

Details: codspeed.io/swc-project/...

15.07.2025 03:47 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

And in other cases we saw even bigger gains: ๐Ÿ“ˆ

15.07.2025 03:45 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

๐Ÿš€ SWC parser just got 12-14% faster in the past 2 weeks! Our team contributed 30+ PRs and we're just getting started ๐Ÿ’ช

15.07.2025 03:44 โ€” ๐Ÿ‘ 13    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

We wrote a blog sharing some findings from our binary size optimization journey - exploring efficient ways to embed large string HashMaps statically in programs: github.com/orgs/web-inf...

07.07.2025 13:34 โ€” ๐Ÿ‘ 7    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Browserslist-rs Gets Major Refactor, Cutting Binary Size by ... Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.

๐Ÿฆ€ Rust continues to reshape #JavaScript frontend tooling. Browserslist-rs just got a major performance optimization: internal data is now mostly static, cutting over 1MB from WASM builds and lowering memory usage.
โœจ Full story โ†’ socket.dev/blog/browser... h/t @rspack.dev

04.07.2025 04:08 โ€” ๐Ÿ‘ 9    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Make vendor data more static by quininer ยท Pull Request #32 ยท browserslist/browserslist-rs This PR is not yet completed. Its goal is to make browserslist-rs data completely static to reduce resident memory and binary size. This is a big refactor, so I opened a draft to get early feedback...

We'll have a blog post covering this optimization soon. ๐Ÿš€

You can also check out the PR to learn more:

github.com/browserslist...

03.07.2025 08:04 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Our team member contributed to browserslist-rs, making data static to reduce memory usage and binary size.

This benefits all dependent tools like Rspack, SWC, Turbopack, and LightningCSS. Rspack's binary size was reduced by 1.64MB. ๐Ÿš€

03.07.2025 08:02 โ€” ๐Ÿ‘ 19    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 2
Preview
Rspack Fast Rust-based web bundler

Rspack & Rsbuild 1.4 is out! ๐ŸŽ‰

๐Ÿ€ Running in the browser
โšก๏ธ Smaller bundles
โšก๏ธ Incremental build by default
๐Ÿชš New CssChunkingPlugin
๐Ÿฆ€ Lots of Rstack progress

rspack.dev/blog/announc...

26.06.2025 09:32 โ€” ๐Ÿ‘ 17    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
refactor(es/parser): Remove token contexts by bvanjoi ยท Pull Request #10547 ยท swc-project/swc Fixes #10619 Fixes #10618 Fixes #10607 Fixes #10601

Related PR: github.com/swc-project/...

18.06.2025 13:46 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

Our team member just contributed a PR to SWC with 3-8% parser perf gains ๐Ÿš€

SWC parser is now 30% faster than a few months ago ๐Ÿ“ˆ

18.06.2025 13:46 โ€” ๐Ÿ‘ 18    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@rspack.dev is following 2 prominent accounts