MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/bgiky2/introducing_nodejs_12/ellunyo/?context=3
r/javascript • u/vzhou842 • Apr 23 '19
85 comments sorted by
View all comments
91
ES6 Module Support!
23 u/tanguy_k Apr 23 '19 edited Apr 23 '19 It's still behind a flag (--experimental-modules) + you need to add "type": "module" inside your package.json.See https://medium.com/@nodejs/announcing-a-new-experimental-modules-1be8d2d6c2ff 17 u/[deleted] Apr 23 '19 Yes, but they expect to remove the need for the flag during the development of this version (before it goes LTS in October).
23
It's still behind a flag (--experimental-modules) + you need to add "type": "module" inside your package.json.
--experimental-modules
"type": "module"
See https://medium.com/@nodejs/announcing-a-new-experimental-modules-1be8d2d6c2ff
17 u/[deleted] Apr 23 '19 Yes, but they expect to remove the need for the flag during the development of this version (before it goes LTS in October).
17
Yes, but they expect to remove the need for the flag during the development of this version (before it goes LTS in October).
91
u/[deleted] Apr 23 '19
ES6 Module Support!