webpack-contrib / webpack-hot-middleware

Webpack hot reloading you can attach to your own server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overlay is invalid in webpack5. Haven't you solved it yet? How long do you plan to publish it to the master? I hope you can reply

yizhengfeng-jj opened this issue · comments

  • Operating System: mac
  • Node Version: v12.22.1
  • NPM Version: 6.14.12
  • webpack Version: 5.65.0
  • webpack-hot-middleware Version: 2.25.1

Expected Behavior

Overlay can be used normally

Actual Behavior

Overlay failure

Code

  // webpack.config.js
app.use(
        webpackHotMiddleware(compiler, {
            log: false,
            path: '/__webpack_hmr',
            heartbeat: 1000,
            overlay: true
        })
    );

other

I found that this problem was fixed a long time ago, but it has been submitted to the webpack5 branch. I want to ask when to publish to the master and issue a new NPM package, or whether there is an NPM package corresponding to the webpack5 branch. If so, can you tell me which version it is