Open billy-reilly opened 5 years ago
running npm run build was throwing the following error:
npm run build
ERROR in bundle.js from UglifyJs Unexpected token: keyword (const) [bundle.js:6,144411]
I fixed it as described in this stackoverflow answer by replacing uglify with the terser webpack plugin
I'd be happy to put in a PR so others don't run into this issue if you'd like?
running
npm run build
was throwing the following error:I fixed it as described in this stackoverflow answer by replacing uglify with the terser webpack plugin
I'd be happy to put in a PR so others don't run into this issue if you'd like?