Files
XQKqueue/web/vite.config.ts
2026-07-12 15:53:24 +08:00

23 lines
427 B
TypeScript

import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
host: "0.0.0.0",
port: 5173,
proxy: {
"/api": {
target: "http://localhost:8080",
changeOrigin: true,
},
},
},
test: {
environment: "jsdom",
globals: true,
setupFiles: "./src/test/setup.ts",
css: true,
},
});