esbuild-plugin-hybrid-export

JSON →
library 0.3.4 ·javascript
verified May 1, 2026

Esbuild plugin to simplify creation of hybrid (dual) packages that support both ESM and CJS module formats. At version 0.3.4, it automates the generation of wrapper ESM files that re-export CJS module.exports via named exports, addressing reliability issues with Node.js's static analysis for named exports from CJS. The plugin is in PoC status, with frequent releases from the monorepo. It requires esbuild >=0.19.0. Compared to manual dual-package setup or other tools, it offers a minimal, esbuild-native solution with TypeScript support.

total hits 7
actors 2 distinct systems
last hit 5d ago AhrefsBot
GPTBot
2
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · PT · 🇸🇬 Singapore · 🇬🇧 United Kingdom