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

🧐[问题] 手机端使用时,报 unexpected token [ #175

Closed
sdls10qq opened this issue Aug 31, 2020 · 2 comments
Closed

🧐[问题] 手机端使用时,报 unexpected token [ #175

sdls10qq opened this issue Aug 31, 2020 · 2 comments

Comments

@sdls10qq
Copy link

🧐 问题描述 [详细地描述问题,让大家都能理解]

手机端打开时,报 unexpected token [ 错误。
目前发现 打包 压缩的js里面出现了
let[d,h]=Hp(a,o,s,c);d=Math.exp(d);
const[f,d]=Hp(a,o,s,c),h=e=>d*e+f,p=[[l,h(l)],[u,h(u)]];

🚑 其他信息 [如截图等其他信息可以贴在这里]

环境  基于umi 2.13.12, 移动端  android 5.1 , 浏览器内核为 chrome 44 mobile
@lxfu1
Copy link
Member

lxfu1 commented Aug 31, 2020

这个看上去不像是图表的问题。

@sdls10qq
Copy link
Author

是umi的 uglify 压缩报错问题及 es5-imcompatible-versions。目前已经解决
详见 sorrycc/blog#68

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