vue-ssr-hmr
vue-ssr-hmr copied to clipboard
npm run build fails
Hi! Wanted to know how webpack packaged things when running for production. So I tried npm run build which sets NODE_ENV=production before running webpack. But it fails. I cannot see straight away what the problem is:
ERROR in main.4d3a27cf.js from UglifyJs
RangeError: Maximum call stack size exceeded
at Function.[Symbol.hasInstance] (<anonymous>)
...
ERROR: "build-client" exited with 2
Anyone knows what this might be?
Didn't find the exact cause. But I learned that the minifyjs plugin used in the project is now deprecated, and when trying with the recommended successor it worked. So I created a PR for that.