electron-userland / electron-userland/electron-webpack

Question: Devserver disable

Open
#447 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.