Hi, I’m currently trying to set up an existing vite-needle app to work standalone (and possibly offline) using electron. Using vite-plugin-electron this was pretty easy to accomplish for development but builds are something else completely.
The easiest way would be to just bundle vite’s dist output using electron-builder and point it to the index.html or the like. But this serves files using the file protocol and now needle presents me with
Hi - it looks like you are trying to load a local file which will not work. You need to use a webserver to serve your files.
Although everything seems to work so far. Where would it break, what would you recommend for such a scenario?