mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-31 03:12:16 +00:00
21 lines
406 B
TypeScript
21 lines
406 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
outDir: 'dist',
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
port: 5173,
|
|
strictPort: true,
|
|
proxy: {
|
|
'/v1': 'http://localhost:8000',
|
|
'/health': 'http://localhost:8000',
|
|
},
|
|
},
|
|
clearScreen: false,
|
|
envPrefix: ['VITE_', 'TAURI_'],
|
|
});
|