不足的Ecmascript-6 / es6支持enide / eclipse“意外的令牌”用于进出口

不足的Ecmascript-6 / es6支持enide / eclipse“意外的令牌”用于进出口

问题描述:

我已经安装了支持es6的enide studio 2015,所以这个错误不应该出现?
我如何摆脱这些错误讯息?

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

从#node.js


虽然ES6提供了导入/导出,目前,在任何地方,
没有任何,因为加载器规范未完成(
https://github.com/whatwg/loader )。 ES6模块还不算什么;
他们还不存在。 !babel简单地将导入/导出到
require ,一旦加载器
完成就不能保证工作。现在使用CommonJS模块

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