-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Using proxy from webpack-dev-server #671
Comments
We want a very specific behavior with regards to choosing between |
WDS also accepts |
After reading some more, I think it's possible. In WDS, you can add a So It would require some other small changes. Don't know if it's worth it, but it's less code and two less dependencies to handle. |
I probably won’t have the time to spend investigating this, but I’ll leave it open and maybe somebody can give it a try. |
Something I noticed while being bored and looking through
scripts/start.js
: CRA handles proxy themselves, but webpack-dev-server also has built-in support for this (using the same package,http-proxy-middleware
).As I maintain WDS, I wonder what is missing from the proxy functionality in WDS. Feedback is welcome :). We only use the powerful
http-proxy-middleware
package since a few weeks, so maybe it was a better decision back then?The text was updated successfully, but these errors were encountered: