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 коммит произвёл Facebook Github Bot 6
Родитель 37f4ec6e16
Коммит a2ee5bd307
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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'],
}]
},

Просмотреть файл

@ -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",