Skip to content

Commit 911debc

Browse files
author
Clement Hoang
committed
Nest forceAllTransforms correctly in webpack config
1 parent 60a42ae commit 911debc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ module.exports = function(api, opts) {
4949
targets: {
5050
// React parses on ie 9, so we should too
5151
ie: 9,
52-
// We currently minify with uglify
53-
// Remove after https://github.com/mishoo/UglifyJS2/issues/448
54-
forceAllTransforms: true,
5552
},
53+
// We currently minify with uglify
54+
// Remove after https://github.com/mishoo/UglifyJS2/issues/448
55+
forceAllTransforms: true,
5656
// Disable polyfill transforms
5757
useBuiltIns: false,
5858
// Do not transform modules to CJS

0 commit comments

Comments
 (0)