npm run build 构建失败
vue 打包出错——Unexpected token: punc (()
ERROR in static/js/vendor.01f38d9d512d1cb86953.js from UglifyJs
Unexpected token: punc (() [./node_modules/_element-ui@2.0.5@element-ui/src/mixins/migrating.js:23,0][static/js/vendor.01f38d9d512d1cb86953.js:52337,9]
Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! battery@1.0.0 build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the battery@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! E:\Program Files\nodejs\node_cache\_logs\2018-03-07T02_24_43_985Z-debug.log