forked from mtusi2026/mtusi2026lab3
24 lines
475 B
TypeScript
24 lines
475 B
TypeScript
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"],
|
|
},
|
|
});
|