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".
What is the MrRefactoring/rollup-plugin-esnext-to-nodenext GitHub project? Description: "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".". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the rollup-plugin-esnext-to-nodenext issue tracker:
Open GitHub Issues