我可以在Node.js 8中使用ES6模块吗? [英] Can I use ES6 modules in Node.js 8?
本文介绍了我可以在Node.js 8中使用ES6模块吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以从版本8开始使用ES6模块语法和Node.js吗?
本网站已经提出类似问题,但答案已经过时。我想知道新版本的Node.js情况是否有所改变?
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?
推荐答案
https://medium.com/the-node-js-collection / an-update-on-es -s-modules-in-node-js-42c958b890c
它正在进行中,但ETA最早是2018年。
It is in progress but the ETA is 2018 at the earliest.
这篇关于我可以在Node.js 8中使用ES6模块吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文