Files
ClusterCanvas/webui/vite.config.ts
T
2026-07-16 20:47:33 +02:00

18 lines
361 B
TypeScript

import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/health': 'http://localhost:8080',
'/api': 'http://localhost:8080',
},
},
test: {
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
globals: true,
},
})