-
I am trying to bump my webpack-dev-server from v3 to v5 and I am facing some issues converting my custom middleware. In v3 I am using the Here is my function which I have updated to work with the new changes.
And in the devServer configuration, I have this:
Now the issues I am facing are:
Also, I am seeing duplicate default middlewares when configuring my server. Don't know if that is an issue on configuration side. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed the issue by changing the
|
Beta Was this translation helpful? Give feedback.
Fixed the issue by changing the
setupMiddlewares
configuration to this: