Skip to content

Conversation

Styx11
Copy link

@Styx11 Styx11 commented Apr 8, 2020

Hi, recently, I have used devMiddleware and hotMiddleware in webback4 and koa2 environment. Your library has greatly inspired me, but I have encountered version problems:

  • The middleware version you are using is too old to support webpack4
  • The adaptation method designed in the library is no longer applicable to the existing version of middlewares

So in this PR, I upgraded the middleware versions and updated the adaptation methods

I've tested it on my project and they work well🙂

pins:

"koa": "^2.11.0",
"webpack": "^4.42.0",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant