summarum/vite.config.ts
Horizontal42 0d0e6901b9 fix vite dev server: bind 127.0.0.1, ignore src-tauri/target
Vite defaulted to an IPv6-only bind, so tauri dev's readiness probe
(which checks 127.0.0.1) waited forever even though Vite was up.
Separately, its file watcher was watching Rust's build output and
crashed on a locked .pdb file mid-compile.
2026-07-01 17:35:26 +03:00

17 lines
286 B
TypeScript

import { defineConfig } from "vite";
export default defineConfig({
clearScreen: false,
server: {
host: "127.0.0.1",
port: 1420,
strictPort: true,
watch: {
ignored: ["**/src-tauri/**"],
},
},
build: {
target: "es2022",
outDir: "dist",
},
});