Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

single-react-refresh-plugin

zhanghongen2.3kISC1.0.5

module-federation hmr

react-refresh, module-federation, react, hmr, webpack

readme

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()
  ]
}