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
Node.js now supports ES Modules. We should support it by exporting both CommonJS and ES modules as outlined in this article and this one.
I attempted this and got pretty far until I reached a blocker in which you need to explicitly define file extensions in the Node.js implementation as described in this issue (see below).
Allowed
importmyModulefrom'./myModule.js'
Not allowed
importmyModulefrom'./myModule'
Once this issue is addressed in Node.js, we can proceed with this support.
The text was updated successfully, but these errors were encountered:
@jacogr - thanks for the feedback. This issue is about removing the dependency of Babel to ES modules on Node.js natively. Everything works correctly in its current state.
Node.js now supports ES Modules. We should support it by exporting both CommonJS and ES modules as outlined in this article and this one.
I attempted this and got pretty far until I reached a blocker in which you need to explicitly define file extensions in the Node.js implementation as described in this issue (see below).
Allowed
Not allowed
Once this issue is addressed in Node.js, we can proceed with this support.
The text was updated successfully, but these errors were encountered: