webpack-contrib / webpack-hot-middleware

Webpack hot reloading you can attach to your own server
MIT License
2.34k stars 296 forks source link

enable use of other backends besides express #408

Open noahehall opened 3 years ago

noahehall commented 3 years ago

Feature Proposal

enable use of other backends besides express, e.g. i use koa2. it could be something like my hacky version here

I had to modify both this project and webpack-dev-middleware but the modifications were so trivial I imagine there could be a simplier way for your consumers to enable this without having to go through the forking like i did.

It would be great to say hey 'use this middleware instead of the default' and supply either my own fn or one available within this repo.

thx!

Feature Use Case