babel-preset-react-hmre
v1.1.1
Published
Babel preset for React HMR and Error Catching
Downloads
74,518
Readme
Babel preset for React HMR and Error Catching
This preset will configure Babel 6 for https://github.com/gaearon/react-transform-hmr and friends.
It is recommended that this preset only be configured for your development builds.
Install
npm install babel-preset-react-hmre --save-dev
Configure babel via .babelrc
{
"presets": ["react", "es2015"],
"env": {
"development": {
"presets": ["react-hmre"]
}
}
}