Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es5 无法转es6 #44

Open
P-Mz opened this issue May 10, 2019 · 1 comment
Open

es5 无法转es6 #44

P-Mz opened this issue May 10, 2019 · 1 comment

Comments

@P-Mz
Copy link

P-Mz commented May 10, 2019

ELF 版本

1.9.1

运行环境

node: v8.12.0

报错信息

ERROR in js/bundle.js from UglifyJs
Unexpected token: name (ret) [js/bundle.js:107,8]
@booxood
Copy link
Collaborator

booxood commented May 15, 2019

默认是不支持 es6 的。

可以参考这个项目配置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants