theo-agent-dashboard

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

vite.config.ts (581B)


      1 import { defineConfig } from "vite";
      2 import react from "@vitejs/plugin-react";
      3 import tailwindcss from "@tailwindcss/vite";
      4 
      5 export default defineConfig({
      6   plugins: [react(), tailwindcss()],
      7   server: {
      8     proxy: {
      9       "/api": {
     10         target: "http://localhost:8080",
     11         changeOrigin: true,
     12         ws: true,
     13       },
     14     },
     15   },
     16   test: {
     17     globals: true,
     18     environment: "jsdom",
     19     setupFiles: ["./src/test-setup.ts"],
     20     coverage: {
     21       provider: "v8",
     22       reporter: ["text", "text-summary"],
     23       thresholds: {
     24         lines: 90,
     25       },
     26     },
     27   },
     28 });