I'm having trouble running tests on the latest dev branch. Multiple errors like below:
ERROR in pages/async-data.d75fdc644a911e620031.js from UglifyJs
Unexpected token: punc (() [pages/async-data.d75fdc644a911e620031.js:25,11]
I've tried following the suggestion below (using uglifyjs-webpack-plugin
) but it still fails, I think this has to be something to do with babel. Has anything changed with webpack setup recently? Should there be a .babelrc
file?
https://stackoverflow.com/questions/42375468/uglify-syntaxerror-unexpected-token-punc
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1692">#c1692</a>)</em></sub></div>