Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-react-hmre

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-react-hmre

Babel preset for React HMR and Error Catching

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30K
increased by60.28%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 06 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc