feat(companion): add Electron presentation layer with React UI, IPC handlers, and automation POC

This commit is contained in:
2025-11-21 16:49:14 +01:00
parent 098bfc2c11
commit bd60bd6771
18 changed files with 3888 additions and 171 deletions

19
vite.config.electron.ts Normal file
View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { resolve } from 'path';
export default defineConfig({
plugins: [react()],
base: './',
root: '.',
build: {
outDir: 'dist/renderer',
emptyOutDir: true,
rollupOptions: {
input: resolve(__dirname, 'src/apps/companion/renderer/index.html')
}
},
server: {
port: 5173
}
});