electron-webpack
electron-webpack copied to clipboard
How do we run the build output? Docs don't really say.
Docs don't say how to run the build output. The docs go on to recommend using electron-builder as a next step
But how do we just run it?
I want to run some tests without hot module replacement, which electron-webpack dev seems to automatically load. It'd be nice if there was something like electron-webpack prod to test a production-like version locally without having to run electron-builder to make a package just to test things.
So how do we run the build output? The question was unanswered (!)
Well I don't believe there is such a feature this far; the codebase seems to be built entirely towards the goal of 1) developing an app with HMR (that's the actual feature) and then 2) building a production version of that app.
So, what it takes here is a volunteer who spends time and creativity to implement what's requested and submits a PR.. Maybe it's possible to do it just by clever adjustments to configuration, without changing the actual codebase or submitting PRs, but I'm not sure about that. The project is a lot about generating configs programmatically, so it might need changes in code as well.