mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
Major changes: - Add Electron main process and preload scripts with Web Bluetooth support - Implement platform abstraction layer for storage and file services - Create BluetoothDevicePicker component for device selection UI - Migrate from electron-builder to Electron Forge for packaging - Configure Vite for dual browser/Electron builds - Add native file dialogs and persistent storage via electron-store - Hide menu bar for cleaner desktop app appearance The app now works in both browser (npm run dev) and Electron (npm run start). Package with 'npm run package' or create installers with 'npm run make'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
11 lines
279 B
TypeScript
11 lines
279 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
// For Electron Forge's Vite plugin, this config is used for main and preload processes
|
|
// The renderer config is in vite.config.mts
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
external: ['electron'],
|
|
},
|
|
},
|
|
});
|