Files
LumaOps-Public/lumaops/frontend/vite.config.ts
T

19 lines
392 B
TypeScript

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