-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
_@[email protected]@@babel这个包含有es6语法 #2523
Comments
没理解问题是啥,复现步骤? |
不好意思,是这样的
1.昨天umi2.7版本更新(我的项目没有锁定版本),然后install之后,项目就不能正常编译了
vendors.async.js from UglifyJs
Unexpected token: keyword «const» [vendors.async.js:18,0]
异常如上,然后根据sorrycc/blog#68
使用cross-env COMPRESS=none umi build,查看vendors.async.js的第18行代码,并没有发现含有const,但是在这个vendors.async.js的164行是存在const定义,查看模块后发现_@babel_type 版本是7.4.4(不知道我这样理解是否正确)
------------------ 原始邮件 ------------------
发件人: "chencheng (云谦)"<[email protected]>;
发送时间: 2019年6月3日(星期一) 晚上11:00
收件人: "umijs/umi"<[email protected]>;
抄送: "小许"<[email protected]>;"Author"<[email protected]>;
主题: Re: [umijs/umi] _@[email protected]@@babel这个包含有es6语法 (#2523)
没理解问题是啥,复现步骤?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
看下 #2520 ,应该是相同问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景
思路
The text was updated successfully, but these errors were encountered: