Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding setup option for pre-configuring app middleware. #190

Closed
wants to merge 1 commit into from

Conversation

gmac
Copy link

@gmac gmac commented Jun 2, 2015

By passing a setup function as a server option, one can pre-configure app middleware before webpack-dev-middleware is installed. This is useful for installing pre-webpack middleware that inspects an incoming request and makes adjustments to the Webpack server if needed.

@heebtob
Copy link

heebtob commented Jul 7, 2015

I would love to see this feature. In my case I would like to use the passport middleware for authentication.
👍

@danistefanovic
Copy link

+1

@mathieumg
Copy link

+1 👍 A way to do the same post-setup could come in handy as well, I imagine.

@mehwww
Copy link

mehwww commented Sep 16, 2015

+1

@jnv
Copy link
Contributor

jnv commented Sep 23, 2015

👍

Or perhaps you could have a middleware option similar to browserSync, although this is feasible with this solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants