esbuild-plugin-named-exports
JSON →An esbuild plugin (v3.0.7, infrequent releases) that rewrites CommonJS re-exports to preserve named exports when bundling CJS to ESM. It uses cjs-module-lexer to detect all named exports and emits explicit named export statements, preventing the common issue where only a default export appears. Unlike manual conversion or other CJS→ESM tools, this plugin automates the re-export of named exports for packages that re-export via module.exports = require(...).
Traffic · last 30 days ↓67% vs prev 7d
total hits 8
actors 3 distinct systems
last hit 5d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇹 Italy · 🇫🇷 France