Skip to content

Commit f166144

Browse files
authoredOct 3, 2018
Disable inline 3 option (#5281)
1 parent 449a812 commit f166144

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

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

+5
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ module.exports = {
149149
// Pending further investigation:
150150
// https://github.com/mishoo/UglifyJS2/issues/2011
151151
comparisons: false,
152+
// Disabled because of an issue with Terser breaking valid code:
153+
// https://github.com/facebook/create-react-app/issues/5250
154+
// Pending futher investigation:
155+
// https://github.com/terser-js/terser/issues/120
156+
inline: 2,
152157
},
153158
mangle: {
154159
safari10: true,

0 commit comments

Comments
 (0)