Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 076dafb

Browse files
authored
Merge pull request #1 from satyavh/patch-2
Fixes build for Safari
2 parents 89b1509 + ef357e3 commit 076dafb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-scripts/config/webpack.config.prod.js

+3
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ module.exports = {
298298
// https://github.com/mishoo/UglifyJS2/issues/2011
299299
comparisons: false,
300300
},
301+
mangle: {
302+
safari10: true,
303+
},
301304
output: {
302305
comments: false,
303306
// Turned on because emoji and regex is not minified properly using default

0 commit comments

Comments
 (0)