single-react-refresh-plugin

1.0.5 • Public • Published

npm

Make react-refresh/runtime of multiple webpack projects reach a single instance by setting the global variable __singleReactRefreshRuntime__

try online

// webpack.config.js
const SingleReactRefreshPlugin = require("single-react-refresh-plugin")

module.exports = {
  plugins: [
    new SingleReactRefreshPlugin()
  ]
}

Package Sidebar

Install

npm i single-react-refresh-plugin

Weekly Downloads

686

Version

1.0.5

License

ISC

Unpacked Size

2.85 kB

Total Files

4

Last publish

Collaborators

  • zhanghongen