Advertisement · 728 × 90

Posts by neverland

Post image

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

3 days ago 6 2 2 0
Preview
Bundling dependencies (and when not to do it) A brief write up on when you should or shouldn't bundle dependencies

I also agree with this write-up: e18e.dev/blog/bundlin...

3 days ago 2 0 0 0

That’s a fair point, I agree there are tradeoffs here.

Vite and Next.js have been doing this for years. In our case, we started exploring it around ~4 years ago in our internal frameworks, it helps reduce the dependency management burden for our business teams.

3 days ago 1 0 1 0

Thanks for the context. Just to clarify, I don’t always bundle dependencies. For develop tools like Rspack or Rsbuild, we prioritize fast CLI startup and stability, so that’s the trade-off we chose.

3 days ago 3 0 2 0

In my experience, bundling deps often reduces the install size.
I understand the need to control versions in some cases. But most users aren’t able to manage hundreds of transitive deps effectively. Having frameworks or build tools bundle and pin them is usually a simpler and more reliable default.

3 days ago 2 0 0 0

How we achieved this:

- moved non-essential deps to optional peer deps
- replaced heavy deps with lighter alternatives
- bundled some deps into the output
- leveraged Node 20+ native APIs (e.g. styleText over picocolors)

3 days ago 5 0 1 0
Post image

Rspack / Rsbuild 2.0 stable is coming next week!

One key improvement: we've trimmed npm deps across core packages to the bare minimum. This lowers supply chain risk and speeds up installs.

3 days ago 41 3 4 0
Post image

Setting up Rstest just got easier.

Rstest docs now include a dedicated guide for coding agents to do it for you:

4 days ago 4 1 0 0
Advertisement

Rslint is part of Rstack. It currently uses tsgo to support TypeScript, with this part primarily implemented in Go. We also plan to introduce Rust to implement additional capabilities.

5 days ago 4 0 0 0
Post image

Just tried "rslint --type-check":

2s for type-aware linting + type checking on the Rsbuild monorepo 🚀

6 days ago 11 1 2 1
Post image

Rsbuild reached 1M weekly downloads. Thank you all ❤️

1 week ago 28 1 0 0

Lots of ecosystem and community updates, too:

⚡ @vite.dev 8
▲ @nextjs.org 16.2
📝 @eslint.org 10
🅰️ @angular.dev 21
🦀 CLI init support for Rsbuild
⚡️ @preactjs.com support for Vitest addon
🤘 Community @vike.dev integration
🚀 Community @astro.build framework (experimental)

1 week ago 9 4 2 0

Here's what we reached for 👇
→ Lit and web components for all interactivity
→ Custom server components for static templating
→ Rspack instead of Webpack
→ Declarative Shadow DOM for instant rendering
→ Baseline to decide which web APIs we can ship with confidence

1 week ago 4 2 1 0
Preview
GitHub - rstackjs/connect-next: An actively maintained fork of Connect. An actively maintained fork of Connect. Contribute to rstackjs/connect-next development by creating an account on GitHub.

As part of this effort, since the connect package is no longer actively maintained, I forked and modernized it.

Fewer dependencies, rewritten in TypeScript, and now native ESM.

github.com/rstackjs/con...

2 weeks ago 4 0 0 0

Update: reduced @rspack/dev-server deps from 193 → 8, install size from 14.9 MB → 4.1 MB.

npm supply chain attacks keep happening and keeping deps minimal makes me feel safer.

2 weeks ago 68 7 4 0
Video

🆕 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

2 weeks ago 4 1 1 0
GitHub - addfox/addfox: 🧩 Accelerate your browser extension development. Built on Rsbuild — fast, simple, and free 🧩 Accelerate your browser extension development. Built on Rsbuild — fast, simple, and free - addfox/addfox

AddFox: a new browser extension framework built on Rsbuild ⚡️
github.com/addfox/addfox

3 weeks ago 9 1 0 0
Advertisement
Post image

Some recent Rspack benchmark trends.

Rspack 2.0 work is helping improve performance steadily⚡️

3 weeks ago 10 4 0 0

We’re getting close ⏳

Rspack 2.0 and Rsbuild 2.0 are landing next month.

Beta is already out. give it a try and share your early feedback with us.

1 month ago 15 2 1 0

For the second issue, import defer might help in the future.

Runtime support is still limited today, but Rspack already supports bundling it behind experiments.deferImport . So one possible direction for us could be to bundle the config with Rspack at startup to reduce the eager cost from imports.

1 month ago 2 0 0 0

3. for task management and build cache, projects like Turborepo and Nx already do a great job, so we’d rather build on top of that ecosystem than reinvent it

1 month ago 1 0 1 0

1. it makes dependency/version management more coupled, especially around major upgrades in underlying tools

2. it can lead to a single large config file, and if that file imports several third-party packages, it may slow down command startup

1 month ago 2 0 1 0

Rstack could offer a unified toolchain experience similar to Vite Plus as well, and huge respect to the Vite Plus team for exploring that direction.

We haven’t pursued that path for now, mainly because we worry about a few tradeoffs:

1 month ago 7 1 1 0
Preview
AI - Rspack Fast Rust-based web bundler

New doc added: Rspack + AI 🤖: rspack.rs/guide/start/ai

Learn how to use coding agents to set up and work with Rspack projects more efficiently.

1 month ago 8 1 0 0
Post image

Still curious why memfs v4 introduced so many new dependencies compared to v3.

1 month ago 1 0 0 0
Advertisement
Post image

Working on modernizing Rspack dev server.

No longer tied to webpack-dev-server compatibility. Dependencies are updated and unnecessary ones removed.

Early progress:

📉 Direct deps: 28 → 9
📉 Transitive deps: 193 → 76
📉 Install size: 14.9MB -> 9.9MB

1 month ago 20 2 2 1
Post image

Rspack just hit 4M weekly downloads.

Vibe coding is helping dev tools grow faster. 🚀

0→1M: 750d
1→2M: 160d
2→3M: 140d
3→4M: 40d

1 month ago 6 2 0 0
Preview
GitHub - rstackjs/agent-skills: A collection of Agent Skills for Rstack. A collection of Agent Skills for Rstack. Contribute to rstackjs/agent-skills development by creating an account on GitHub.

Introducing Rstack Agent Skills:

- rspack-best-practices
- rspack-v2-upgrade
- rspack-debugging
- rsbuild-best-practices
- rspress-v2-upgrade
- rsdoctor-analysis
- migrate-to-rsbuild
- migrate-to-rstest
- more...

github.com/rstackjs/age...

1 month ago 36 2 1 0
Preview
`@remotion/bundler`: Add experimental flag for Rspack (Fast Refresh not yet working) by JonnyBurger · Pull Request #6596 · remotion-dev/remotion See #6608 for progress regarding Rspack

Remotion is working on experimental Rspack support 👀

github.com/remotion-dev...

1 month ago 8 1 0 0
Post image

Great to see Tailwind CSS shipping an official @tailwindcss/webpack package 👏

It’s implemented as a webpack loader, which means it works in Rspack and Turbopack as well.

Big shoutout to @timneutkens.bsky.social for making this happen 🙌

1 month ago 12 2 2 0