1.0.5 • Published 10 months ago
single-react-refresh-plugin v1.0.5
Make react-refresh/runtime of multiple webpack projects reach a single instance by setting the global variable __singleReactRefreshRuntime__
// webpack.config.js
const SingleReactRefreshPlugin = require("single-react-refresh-plugin")
module.exports = {
plugins: [
new SingleReactRefreshPlugin()
]
}