esbuild-plugin-react18
JSON →An esbuild plugin (v0.2.6) that enables library authors to build React components compatible with React 18 Server Components (RSC), including automatic 'use client' directive injection, test file exclusion, data-testid removal, and custom ignore/replace patterns. Supports both ESM and CJS output, full TypeScript types, and works with tsup or esbuild. Actively maintained with frequent releases. Differentiators: specifically targets RSC library development, not just client-side builds; handles JSX runtime deduplication and CSS variable renaming; provides a GitHub template for quick setup.
Traffic · last 30 days ↓50% vs prev 7d
total hits 9
actors 3 distinct systems
last hit 3d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇹🇷 Turkey
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-react18