Skip to content

Commit

Permalink
Disable inline 3 option (facebook#5281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Oct 3, 2018
1 parent 6a51d9f commit fadbab6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ module.exports = {
// Pending further investigation:
// https://github.com/mishoo/UglifyJS2/issues/2011
comparisons: false,
// Disabled because of an issue with Terser breaking valid code:
// https://github.com/facebook/create-react-app/issues/5250
// Pending futher investigation:
// https://github.com/terser-js/terser/issues/120
inline: 2,
},
mangle: {
safari10: true,
Expand Down

0 comments on commit fadbab6

Please sign in to comment.