Skip to content

Commit bf1e711

Browse files
tiegebentleyclaude
andcommitted
chore(desktop): add standalone vite config for browser-only dev
Enables running just the renderer at :5175 without Electron, useful for headless Linux dev (no $DISPLAY). Defines __APP_VERSION__ so TopBar renders without the electron-vite pipeline. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c7b7634 commit bf1e711

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { resolve } from 'node:path';
2+
import react from '@vitejs/plugin-react';
3+
import { defineConfig } from 'vite';
4+
5+
export default defineConfig({
6+
root: resolve(__dirname, 'src/renderer'),
7+
define: { __APP_VERSION__: JSON.stringify('0.2.0') },
8+
plugins: [react()],
9+
server: { host: '127.0.0.1', port: 5175 },
10+
});

0 commit comments

Comments
 (0)