Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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