You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
不好意思,是这样的
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.
背景
思路
The text was updated successfully, but these errors were encountered: