Post

This is a collection of @rspack.dev and RSBuild plugins rolled up into a single rsbuild plugin to enable running of @reactrouter.com's RSC mode in RSBuild. It supports - `import with { env: "react-server" }` - `use client` - `use server` It needs - code splitting - action encryption - css handling

Some cool things about this: - It uses @hiogawa.bsky.social's transforms published through the `@vitejs/plugin-rsc` package - It uses Webpack's "layers" concept heavily - The only time I had to drop out of the rsbuild APIs down to the rspack APIs was to link chunks and trigger additional passs

0 reposts5 likes

No replies yet.