Can I use ES6 modules in Node.js 8? [duplicate]

心已入冬 提交于 2019-12-30 05:59:09

问题


Can I use ES6 module syntax with Node.js starting from version 8? Similar questions have already been asked on this site, but answers there are obsolete. I wonder if the situation has changed with new version of Node.js?


回答1:


https://medium.com/the-node-js-collection/an-update-on-es6-modules-in-node-js-42c958b890c

It is in progress but the ETA is 2018 at the earliest.



来源:https://stackoverflow.com/questions/45379888/can-i-use-es6-modules-in-node-js-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!