1.0.0 • Published 8 years ago

babel-preset-react-native-hmre v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Babel preset for React Native HMR

This preset will configure Babel 6 for https://github.com/gaearon/react-transform-hmr and React Native.

It is recommended that this preset only be configured for your development builds.

github home github issues david-dm npm version npm downloads npm license


Installation

$ npm install babel-preset-react-native-hmre --save

Usage

Configure babel via .babelrc

{
  "presets": [ "react", "es2015" ],
  "env": {
    "development": {
      "presets": [ "react-native-hmre" ]
    }
  }
}

License

The MIT License