babel-preset-react-hmre
Babel preset for React HMR and Error Catching
Last updated 4 years ago by gaearon .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-react-hmre 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.1                                ...           latest (4 years ago)

9 Versions

  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 1.0.0-2                                ...           4 years ago
  • 1.0.0-1                                ...           4 years ago
  • 1.0.0-0                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
  • 0.0.0                                ...           4 years ago
Downloads
Today 0
This Week 96
This Month 1,553
Last Day 4
Last Week 618
Last Month 2,693
Dev Dependencies (3)
Dependents (265)

Copyright 2014 - 2016 © taobao.org |