Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hackal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to upgrade our existing electron codebase (frontend codebase is separate) to use electron-vite/vite.
Can I use electron-vite just for main and preload files? Frontend is in separate repo and while development electron just loads localhost:3000. That is where the frontend development is running and handled by webpack. During build frontend files are copied as part of electron-builder config.
I have already started experimenting with electron-vite and I'm stuck on having issue with fsevents.
Seems like vite can not handle binary files (
.node
) properly.This is my electron.vite.config.js
Thanks for help
Beta Was this translation helpful? Give feedback.
All reactions