Skip to content

Production build does not work for Safari 10 due to Safari bug. Fix available. #3280

Closed
@satyavh

Description

@satyavh

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions