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:
parent
37f4ec6e16
commit
a2ee5bd307
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue