/// <reference types="vitest/config" />
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// 薄 Web 面（租户自助入口）。5173=桌面端前端、5174=admin、这里 5175。
export default defineConfig({
  plugins: [react()],
  server: { port: 5175 },
  test: {
    environment: "jsdom",
    globals: true,
    setupFiles: ["./src/test/setup.ts"],
  },
});
