Skip to content

Commit

Permalink
Upgrade babel-transform-react-native to v2.0.0
Browse files Browse the repository at this point in the history
Summary: Upgrades `babel-transform-react-native` to v2.0.0, which exposes a factory function. That way, the preset will include/exclude dev tools according to `process.env.NODE_ENV` even when that value changes over time.

Reviewed By: cpojer

Differential Revision: D5246801

fbshipit-source-id: 74a1e7e0fb1476750e1fe21ce4befd475907b415
  • Loading branch information
davidaurelio authored and facebook-github-bot committed Jun 19, 2017
1 parent 56969d5 commit 86328e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"babel-polyfill": "^6.20.0",
"babel-preset-es2015-node": "^6.1.1",
"babel-preset-fbjs": "^2.1.3",
"babel-preset-react-native": "^1.9.2",
"babel-preset-react-native": "^2.0.0",
"babel-register": "^6.24.1",
"babel-runtime": "^6.23.0",
"babel-traverse": "^6.24.1",
Expand Down

0 comments on commit 86328e9

Please sign in to comment.