npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

babel-preset-react-hmre

1.1.1 • Public • Published

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

Keywords

none

install

npm i babel-preset-react-hmre

Downloadsweekly downloads

51,456

version

1.1.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability