Fixed HMR for React Native Android

Summary:Needs to be published to npm and version be updated in RN
Closes https://github.com/facebook/react-native/pull/7208

Differential Revision: D3218870

Pulled By: davidaurelio

fb-gh-sync-id: 1caac6eb79be16f2e3ed230f413835341c7291dc
fbshipit-source-id: 1caac6eb79be16f2e3ed230f413835341c7291dc
This commit is contained in:
Konstantin Raev 2016-04-25 06:30:37 -07:00 committed by Facebook Github Bot 6
parent 37f4ec6e16
commit a2ee5bd307
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ module.exports = function(options, filename) {
{
transforms: [{
transform: transform,
imports: ['react-native/Libraries/react-native/react-native.js'],
imports: ['react'],
locals: ['module'],
}]
},

View File

@ -1,6 +1,6 @@
{
"name": "babel-preset-react-native",
"version": "1.5.7",
"version": "1.6.0",
"description": "Babel preset for React Native applications",
"main": "index.js",
"repository": "https://github.com/facebook/react-native/tree/master/babel-preset",