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

Question: Devserver disable #447

Open
ottogutierrez opened this issue Jun 21, 2021 · 0 comments
Open

Question: Devserver disable #447

ottogutierrez opened this issue Jun 21, 2021 · 0 comments

Comments

@ottogutierrez
Copy link

  • Version: Latest as June 21 2021

I am currently developing an application that needs to talk to an intranet API. However, the API server doesn't allow requests from another host. As such, all API calls I make in development mode don't work, as Webpack creates a devserver. When I pacakage the app, they do work.
However, for development it makes it hard to test my code as I have to re-package every time I want to see if something works.

Is there a way that I could disable the devserver when in development and make webpack point to the compiled asset website?

Thank you!

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

No branches or pull requests

1 participant