iview / iview-cli

Create an iView project in visual way
https://iviewui.com/cli
MIT License
727 stars 149 forks source link

在vue-cli项目中引入iview,执行npm run build报错 #23

Closed q27488 closed 7 years ago

q27488 commented 7 years ago

最近需要把项目打包发布到线上,发现vue项目在IE下直接白屏报语法错误,怀疑和打包报错有关, 环境: win7 64位 "babel-polyfill": "^6.23.0", "es6-promise": "^4.1.1", "iview": "^2.0.0-rc.19", "vue": "^2.3.3", "vue-router": "^2.3.1" 报错信息: ERROR in static/js/vendor.ce19c0c58d805cdecfbe.js from UglifyJs Unexpected token name «i», expected punc «;» [./~/iview/src/utils/assist.js:5,0][ static/js/vendor.ce19c0c58d805cdecfbe.js:10340,13]

q27488 commented 7 years ago

不好意思,这个bug应该在ivew提的,而且已经被提问,https://github.com/iview/iview/issues/1571