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>
15 lines
464 B
TypeScript
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"] },
|
|
});
|