From 86328e9266249fb04fcc505600f2ffc67ebef7d7 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Mon, 19 Jun 2017 08:20:25 -0700 Subject: [PATCH] Upgrade `babel-transform-react-native` to `v2.0.0` 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be136ab8b..d77398c03 100644 --- a/package.json +++ b/package.json @@ -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",