Uglify breaks npm run build, log report doesn't say anything particular, npm run dev works

前端 未结 1 1915
终归单人心
终归单人心 2021-01-16 03:02

This is the error message npm run build produced:

ERROR in build.js from UglifyJs
Unexpected token: punc (() [src/App.vue:40,0][build.js:139,6]
npm ERR! code         


        
相关标签:
1条回答
  • 2021-01-16 03:21

    Not sure what was the issue but moving the project to a different directory solved it.

    0 讨论(0)
提交回复
热议问题