←
Rspack1,443 posts
Rspack avatar

Rspack

@rspack_dev

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

◷ Joined January 2023▧ 264 Photos and videos
Rspack avatar
Rspack@rspack_dev·3h

🙌Automatically generate package.json exports with Rslib 1.1 beta 🦀 Set exports: true to map entry points and subpaths to ESM/CJS build outputs Huge thanks to tsdown and @sanxiaozhizi for inspiring this feature!

Post attachment
Jiahan Chen avatar
⟳ Rspack retweeted
Jiahan Chen@jiahan_c·6h

Rsbuild's Solid plugin v2.0.0 is here 🎉 It defaults to Solid's native compiler for 10–20× faster JSX compilation than Babel. And you can now drop the Babel plugin:

Post attachment

It's official. Solid 2.0 is finally here. 5 years ago, Signals went mainstream. Today we do the same with Async Signals. solidjs.com/blog/solid-2-0-t…

Post attachment
Oscar Beaumont avatar
⟳ Rspack retweeted
Oscar Beaumont@oscartbeaumont·Nov 17

I recently moved specta.dev to @rspack_dev's Rspress and am super happy! - Removed ~5k LOC by replacing custom logic with Rspress built-ins - Static first, instead of SSR making it cheaper to run - Faster builds

SWC avatar
⟳ Rspack retweeted
SWC@swc_rs·Nov 16

SWC Next 0.7.0 is out! Compared to 0.6.1: ⚡ JavaScript parser API takes ~10% less time (x86_64-only) 💥 Standardized Package & API names bring breaking changes. Don't worry, we’ve prepared a migration checklist in our release note for your agent ⬇️

Post attachment
Néstor avatar
⟳ Rspack retweeted
Néstor@nstlopez·Nov 14

Module Federation for @TauriApps is at 1.0. You can build a Tauri app from parts that are deployed separately, and the app loads them when it runs. It keeps working when users are offline or a server goes down, because the app keeps a copy of everything it loaded. And if a new release breaks, it goes back to the last version that worked on its own. Works with Rsbuild, webpack and @vite_js.

0:42
Néstor avatar
⟳ Rspack retweeted
Néstor@nstlopez·Nov 13

Just shipped 0.2.0 of Module Federation for @tan_stack Start. The big thing is that a remote can now call its own server functions, even when a host app is the one rendering it. The handler code now stays in the remote's private server build, and the build fails if one ever slips out. For the calls, the host gets a small gateway. You tell it where each remote lives and it passes calls along to the right server, from the browser and during SSR. Cookies and auth headers only reach the remote if you send them yourself. Rsbuild SSR remotes also publish their types now, so a host gets real types for remote components and server functions. Huge thanks to mes113, whose prototype showed this could work. github.com/module-federation…

Rspack avatar
Rspack@rspack_dev·Nov 13

In the next release, Rslib will use SWC Next to parse .d.ts files: - 2.5–3.5× faster processing - 6.5–7.2 MB smaller install size

Post attachment

Rsdoctor now uses SWC Next instead of Acorn to parse JavaScript bundles — 3.2× faster 🚀

Post attachment
Jiahan Chen avatar
⟳ Rspack retweeted
Jiahan Chen@jiahan_c·Nov 12

Rsdoctor now uses SWC Next instead of Acorn to parse JavaScript bundles — 3.2× faster 🚀

Post attachment
Rspack avatar
Rspack@rspack_dev·Nov 11

Running into memory issues with Rspack or webpack? Give the latest Rspack a try!

Post attachment
Jiahan Chen avatar
⟳ Rspack retweeted
Jiahan Chen@jiahan_c·Nov 11

Rspack 2.3.2 adds a new `as` option to treat files as a different type when matching rules: - Match MDX files as JavaScript files - Match imports with { type: 'text' } as text files More flexibility to compose and extend compilation rules for different use cases.

Post attachment
James Ross avatar
⟳ Rspack retweeted
James Ross@CherryJimbo·Nov 10

rspack-plugin-cloudflare v0.3.0 Run your Cloudflare Workers in workerd during `rspack serve`, with full HMR inside the Worker itself, then `rspack build` and `wrangler deploy`. Same wrangler config and bindings as the Vite plugin, now for @rspack_dev github.com/Cherry/rspack-plu…

Jiahan Chen avatar
⟳ Rspack retweeted
Jiahan Chen@jiahan_c·Nov 10

Rspack spotted in the ChatGPT/Codex desktop app 🥳

Post attachment