/** * Vite and Vitest configuration of the Lutra frontend. * * The dev server port is fixed because the Tauri shell loads it as `devUrl`. */ import { defineConfig } from "vitest/config"; import vue from "@vitejs/plugin-vue"; export default defineConfig({ plugins: [vue()], clearScreen: false, server: { port: 5173, strictPort: true }, build: { target: "es2022", outDir: "dist" }, test: { environment: "jsdom", include: ["tests/**/*.test.ts"] }, });