Lutra/ui/vite.config.ts
danny 50bcc95006 M0.4: frontend with Vue 3, Pinia, ESLint, vue-tsc and Vitest
Empty workbench (main area and status bar) themed only through --lt-*
tokens. ipc.ts wraps Tauri invoke so engine calls never reject; the app
store loads app.about. Type-aware ESLint bans floating promises, any and
inline comments. Requires Node 22.12+ for Vite 8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:37:41 +02:00

15 lines
464 B
TypeScript

/**
* 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"] },
});