egg
egg copied to clipboard
egg.js 编写代码时支持 es6 module写法吗
egg.js 编写代码时支持 es6 module写法吗? 如何优雅的支持
不支持,没有任何好处,而且现在也不是 Node 支持的特性,还在试验。
你真有需求,就直接用 TS 写 egg,或者自己 babel 编译