Closed
Description
There's a bug in Safari 10, it throws on uglified code
https://bugs.webkit.org/show_bug.cgi?id=171041
There's a fix as well, but Create React App does not implement the fix
https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-options
The result is that it is very likely that a production build created by npm run build
does not run on Safari. At least ours does not (mvp.giveth.io)
How to update the uglify settings?