Skip to content

Commit

Permalink
Add uglify to targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 6, 2017
1 parent 195df07 commit e74b9af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/babel-preset-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ if (env === 'test') {
// Latest stable ECMAScript features
[require.resolve('babel-preset-env'), {
targets: {
// We support everything React supports
'ie': 9
// React parses on ie 9, so we should too
ie: 9,
// We currently minify with uglify
// Remove after https://github.com/mishoo/UglifyJS2/issues/448
uglify: true
},
// Disable polyfill transforms
useBuiltIns: false
Expand Down

0 comments on commit e74b9af

Please sign in to comment.