From 6700f185aadf38655b9f8b77a967f87a29a938e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hor=C3=A1=C4=8Dek?= Date: Wed, 16 Sep 2015 22:16:22 +0200 Subject: [PATCH] Quickfix for react-native Based on: https://github.com/facebook/relay/commit/e0037c78931edc3286e5217894348ca8ece1225b (see: https://github.com/facebook/relay/issues/26) --- gulpfile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c9eff992a569f..d431f04cdb78e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -51,7 +51,7 @@ var babelOpts = { optional: ['runtime'], plugins: [babelPluginDEV, babelPluginModules], _moduleMap: objectAssign({}, require('fbjs/module-map'), { - 'React': 'react', + 'React': 'react-native', 'ReactDOM': 'react-dom', 'StaticContainer.react': 'react-static-container' }) diff --git a/package.json b/package.json index 2018b7640ac5d..72c191757b4d8 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "react-static-container": "^1.0.0-alpha.1" }, "peerDependencies": { - "react": "^0.14.0-rc", + "react-native": "0.10.1", "react-dom": "^0.14.0-rc" }, "devDependencies": {