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?
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!