-->

Inadequate Ecmascript-6 / es6 support for enide /

2019-09-20 08:11发布

问题:

I've installed enide studio 2015 that supports es6, so this error shouldn't appear? How do I get rid of these error messages?

回答1:

From #node.js

While ES6 provides syntax for import/export, it currently does nothing, anywhere, because the loader spec is not finished ( https://github.com/whatwg/loader ). ES6 Modules are not yet a thing; they do not yet exist. !babel simply transpiles import/export to require, which is not guaranteed to work once the loader is finished. Use CommonJS modules for now