-
Notifications
You must be signed in to change notification settings - Fork 1k
es6 modules #926
Comments
Yes |
It seems not to work for me:
|
Maybe using Babel will works |
sure, I could transform to AMD or common.js. But thats not the point here. Native ESM does not work. |
Which version of Node JS are you targeting when building your project? |
@Daniel-Olivier Hi, I had some issue with {type: module} and .mjs/.js files. Node version was 14.4, pkg target was |
Hi @noguilty4you Are you experiencing the exact same issue and receiving SyntaxError: Unexpected token export errors? |
@Daniel-Olivier, yes. Yesterday I refactored the whole project to using commonjs modules and so I have no problems =( |
I took a look at the situation, especially since several open issues are related to es6 modules.
|
closing duplicate of #782 |
Hi! What about to pkg of an app that use es6 modules? Is pkg correctly works with such apps?
The text was updated successfully, but these errors were encountered: