Open BaLaLaLs opened 6 years ago
webpack 打包时 ERROR in main.js from UglifyJs Unexpected token: punc (.) [main.js:886,35] ERROR in main.js from UglifyJs Unexpected token: punc (.) [main.js:886,35]
webpack 配置 .babelrc package.json
main文件夹下用到的es6 特性有 模板字符串 扩展运算符 箭头函数 webpack版本 "webpack": "^2.7.0"
https://github.com/SimulatedGREG/electron-vue/search?q=punc+&type=Issues&utf8=%E2%9C%93 This might help you.
@PanJiaChen thanks, the problem has been solved. I changed the scaffolding, have you considered upgrading this scaffold?
webpack 打包时 ERROR in main.js from UglifyJs Unexpected token: punc (.) [main.js:886,35] ERROR in main.js from UglifyJs Unexpected token: punc (.) [main.js:886,35]
webpack 配置 .babelrc package.json
main文件夹下用到的es6 特性有 模板字符串 扩展运算符 箭头函数 webpack版本 "webpack": "^2.7.0"