Fundamentals of ESM/CJS modules and their Heresies
-
Updated
Aug 7, 2025 - TypeScript
Fundamentals of ESM/CJS modules and their Heresies
A Rollup plugin that automatically transforms ESM imports into Node.js-compatible nodenext format by adding explicit file extensions (.js/.mjs). Perfect for libraries needing to work with TypeScript's "moduleResolution": "nodenext".
Add a description, image, and links to the module-resolution topic page so that developers can more easily learn about it.
To associate your repository with the module-resolution topic, visit your repo's landing page and select "manage topics."