You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for related issues, but none matched my issue.
I want to provide a PR to resolve this
Overview
Now that Node.js natively supports CommonJS files loading ESM ones in 22.12.01 and 23.0.02, there's no more need to use transpilers/etc. to require ESM modules in CommonJS code! 🎉
Example Request Checklist
Overview
Now that Node.js natively supports CommonJS files loading ESM ones in 22.12.01 and 23.0.02, there's no more need to use transpilers/etc. to
require
ESM modules in CommonJS code! 🎉Suggested Solution
I'll add a straightforward example showing this.
Additional Info
Footnotes
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V22.md#requireesm-is-now-enabled-by-default ↩
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V23.md#2024-10-16-version-2300-current-rafaelgss ↩
The text was updated successfully, but these errors were encountered: