Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Fixed HMR for React Native Android
Browse files Browse the repository at this point in the history
Summary:Needs to be published to npm and version be updated in RN
Closes facebook/react-native#7208

Differential Revision: D3218870

Pulled By: davidaurelio

fb-gh-sync-id: 1caac6eb79be16f2e3ed230f413835341c7291dc
fbshipit-source-id: 1caac6eb79be16f2e3ed230f413835341c7291dc
  • Loading branch information
bestander authored and Facebook Github Bot 6 committed Apr 25, 2016
1 parent 37f4ec6 commit a2ee5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion babel-preset/configs/hmr.js
Expand Up @@ -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'],
}]
},
Expand Down
2 changes: 1 addition & 1 deletion babel-preset/package.json
@@ -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",
Expand Down

0 comments on commit a2ee5bd

Please sign in to comment.