Skip to content

Could you explain the usage of webpack-dev-middleware? #18112

Answered by alexander-akait
nyngwang asked this question in Q&A
Discussion options

You must be logged in to vote

My question is: could webpack-dev-middleware be used with any backend server framework other than express.js?

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nyngwang
Comment options

Answer selected by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants