my-single-react-refresh-plugin

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

/my-single-react-refresh-plugin/

    Package Sidebar

    Install

    npm i my-single-react-refresh-plugin

    Weekly Downloads

    1

    Version

    1.0.0

    License

    none

    Unpacked Size

    2.4 kB

    Total Files

    4

    Last publish

    Collaborators

    • hjc0930