electron-webpack icon indicating copy to clipboard operation
electron-webpack copied to clipboard

Question: Devserver disable

Open ottogutierrez opened this issue 4 years ago • 0 comments

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

ottogutierrez avatar Jun 21 '21 18:06 ottogutierrez