import { defineConfig } from "vitest/config"; import react from "@vitejs/plugin-react"; export default defineConfig({ plugins: [react()], server: { port: 5173, strictPort: true, proxy: { "/api": "http://localhost:8080", "/web-api": "http://localhost:8080", "/health": "http://localhost:8080", }, }, preview: { port: 4173, strictPort: true, }, test: { environment: "node", include: ["src/**/*.test.ts"], }, });