Node.js plans to support import/export ES6 (ECMAScript 2015) modules

后端 未结 1 1200
执笔经年
执笔经年 2020-11-22 09:39

I\'ve been looking all over the Internet without a clear answer for this.

Currently Node.js uses only CommonJS syntax to load modules, and if you really want to use t

相关标签:
1条回答
  • 2020-11-22 10:21

    Node.js 13.2.0 & Above

    Node.js 13.2.0 now supports ES Modules without a flag

    0 讨论(0)
提交回复
热议问题