Could you explain the usage of webpack-dev-middleware? #18112
-
Hi! I'm learning webpack and I just learned that From its README they say:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, but it must be compatible with |
Beta Was this translation helpful? Give feedback.
Yes, but it must be compatible with
connect
- https://github.com/senchalabs/connect. Feel free to update docs, we have tests for it https://github.com/webpack/webpack-dev-middleware/blob/master/test/middleware.test.js#L26