Skip to content

Commit e74b9af

Browse files
committed
Add uglify to targets
1 parent 195df07 commit e74b9af

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/babel-preset-react-app/index.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ if (env === 'test') {
8686
// Latest stable ECMAScript features
8787
[require.resolve('babel-preset-env'), {
8888
targets: {
89-
// We support everything React supports
90-
'ie': 9
89+
// React parses on ie 9, so we should too
90+
ie: 9,
91+
// We currently minify with uglify
92+
// Remove after https://github.com/mishoo/UglifyJS2/issues/448
93+
uglify: true
9194
},
9295
// Disable polyfill transforms
9396
useBuiltIns: false

0 commit comments

Comments
 (0)