/// import tailwindcss from "@tailwindcss/vite"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [react(), tailwindcss()], server: { port: 5173, proxy: { // Dev : l'API tourne sur le port du serveur (défaut 8787, voir server/src/config.ts). "/api": "http://localhost:8787", }, }, build: { outDir: "dist", }, test: { environment: "jsdom", setupFiles: "./tests/setup.ts", passWithNoTests: true, }, });