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 not working with Webpack 5

TarasVerbniak opened this issue · comments

Hi!
Error/warnings overlay in browser is not working with newly released Webpack 5.

I had the same issue and found a fix on the webpack5 branch. Added this to my package.json https://github.com/webpack-contrib/webpack-hot-middleware.git#webpack5

Maybe it is time to think about a alpha or beta release of the webpack5 branch?

I think, this is not Webpack 5 problem, this is problem with version of webpack-dev-server.
You may try to install "webpack-dev-server": "^4.0.0-beta.3" to fix it.

There is a fix for this in #397 which will be released once webpack 5 is confirmed as fully supported.

In the mean time I'm closing this issue in favour of #390 to reduce the duplication of issues

commented

this is still an issue, even though #390 seems to have been solved on webpack side.

This issue should be reopened IMO