Ship ESM and CommonJS from One Rollup Build
Configure Rollup to emit ESM and CommonJS bundles together, map them with package.json exports, and avoid the dual-package hazard.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Configure Rollup to emit ESM and CommonJS bundles together, map them with package.json exports, and avoid the dual-package hazard.