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

Commit ef357e3

Browse files
authored
Fixes build for Safari
1 parent 89b1509 commit ef357e3

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)