Skip to content

myhelix/babel-preset-react-hmre

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Project is presently Not Maintained

If there is any interest in a transition of ownership, that would be ideal so that issues can be patched until dependent projects are updated.

Please see gaearon/react-hot-loader#385 (comment) for a more comprehensive explanation

Babel preset for React HMR and Error Catching

Circle CI

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"]
    }
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%