Setup electron build and environment variables#83
Conversation
Co-authored-by: polv <polv@uoc.edu>
|
Cursor Agent can help with this pull request. Just |
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Set up basic Electron support and platform-specific environment variables to enable desktop builds and conditional SSR.
This PR introduces a minimal Electron main process, defines
VITE_PLATFORMandPUBLIC_PLATFORMbased on Vite modes (web,desktop,phone), and updates SvelteKit's+layout.tsto disable SSR when building for desktop. This lays the groundwork for platform-specific logic and future Electron packaging.