Open nanianlisao opened 11 months ago
Hello,
I am using the error-overlay-webpack-plugin in my project and I noticed that the devServer.setupMiddlewares is directly reassigned in the plugin's code. This could potentially overwrite any existing middlewares that have been set up.
error-overlay-webpack-plugin
devServer.setupMiddlewares
Here is the code snippet:
https://github.com/gregberge/error-overlay-webpack-plugin/blob/64bf2c137d3f3b6ca5e9e315cc165e40aba8eee2/src/index.js#L36-L48
Could you please confirm if this is the intended behavior? If so, it might be helpful to add a note in the documentation to inform users about this.
Thank you for your time and assistance.
I have the same issue.
Hello,
I am using the
error-overlay-webpack-plugin
in my project and I noticed that thedevServer.setupMiddlewares
is directly reassigned in the plugin's code. This could potentially overwrite any existing middlewares that have been set up.Here is the code snippet:
https://github.com/gregberge/error-overlay-webpack-plugin/blob/64bf2c137d3f3b6ca5e9e315cc165e40aba8eee2/src/index.js#L36-L48
Could you please confirm if this is the intended behavior? If so, it might be helpful to add a note in the documentation to inform users about this.
Thank you for your time and assistance.