You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project uses.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description
It's not currently possible to build a svelte app using Vite with Electron Forge. It'd be super cool if that was possible. Forge doesn't work with @sveltejs/vite-plugin-svelte.
Proposed solution
I'm not sure what would be required, but I'd like to be able to use Svelte + Vite + Electron + Forge. Right now, you can't import @sveltejs/vite-plugin-svelte because it's an ESM only module.
Alternatives considered
I'm currently using electron-vite, but I'd feel safer working with a Forge since it has a larger community backing it.
Activity
caoxiemeihao commentedon Apr 19, 2024
I provide a
Forge + Vite + Sveltesample here. 👉 https://github.com/caoxiemeihao/electron-vite-samples/tree/main/forge-svelteBTW, Perhaps the next version of
@forge/template-vitewill supportESMfully, I'm currently testing the feasibility ofESMinelectron-vite-vue.caoxiemeihao commentedon Apr 25, 2024
I've provided samples for
esm.