{"library":"esbuild-plugin-hybrid-export","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.3.4","tags":["javascript","esbuild","plugin","dual","hybrid","esm","cjs","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-plugin-hybrid-export","imports":["import { hybridExportPlugin } from 'esbuild-plugin-hybrid-export'","import type { HybridExportPluginOptions } from 'esbuild-plugin-hybrid-export'","import hybridExportPlugin from 'esbuild-plugin-hybrid-export'"]},{"cmd":"yarn add esbuild-plugin-hybrid-export","imports":[]},{"cmd":"pnpm add esbuild-plugin-hybrid-export","imports":[]}],"homepage":null,"github":"https://github.com/antongolub/misc","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-hybrid-export","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}