Closed jesperlandberg closed 6 years ago
If the error comes from uglifyjs, should we maybe just drop it from the project? I'm fine with it. Or does it comes from the source code? Did you fixed it on your project?
It is help for me inside uglifyjs:
mangle: {
except: ['Smooth']
}
Hi,
When buidling production files with Webpack I get the following error: "ERROR in static/js/1.c44247249e196963e223.js from UglifyJs Unexpected token: name (Smooth)"
It seem to be an UglifyJS/ES6/packaging issue.
Here is a related link: https://swizec.com/blog/fun-surprise-uglifyjs-cant-es6/swizec/7272