Vite plugin for React Server Components (RSC) that transforms React components into native ESM modules, enabling static site generation, dynamic servers, and portable RSC payloads compatible with any HTTP server. Version 2.0.1 requires React 19.2+ and Node ^23.7.0, bundles the react-server-dom-esm transport via react-server-loader, and ships TypeScript types. Key differentiators: no experimental React builds needed, automatic client module detection via filename pattern or "use client" directive, built-in support for third-party client packages via peerDep detection, and a Storybook preset. Released under MIT, with active development on GitHub.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Named export, not default. ESM only; no CJS support. TypeScript types included.
Vite's config helper; always use ESM import. CJS require does not work in Vite config context.
Must be top-of-file before any imports; leading whitespace, comments, and 'use strict' allowed above. Substring matches like 'clientUtils.tsx' are not treated as client modules.
Minimal Vite config with a single server component page, plus dev and build commands.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.