Tauri 2 + Svelte 5 + xterm.js + portable-pty. Single full-window WSL terminal pane with clickable distro picker. M1 verified manually on Windows: window opens, xterm.js renders, claude TUI works, resize reflows cleanly. Graduated from ~/claude/ideas/wsl-mux/ per the approved plan at ~/.claude/plans/imperative-coalescing-feigenbaum.md. See memory.md for decisions, open TODOs, and the M2-M5 roadmap. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
452 B
TypeScript
19 lines
452 B
TypeScript
import { defineConfig } from "vite";
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
export default defineConfig(async () => ({
|
|
plugins: [svelte()],
|
|
clearScreen: false,
|
|
server: {
|
|
port: 1420,
|
|
strictPort: true,
|
|
host: "127.0.0.1",
|
|
hmr: { protocol: "ws", host: "127.0.0.1", port: 1421 },
|
|
watch: { ignored: ["**/src-tauri/**"] },
|
|
},
|
|
build: {
|
|
target: "esnext",
|
|
minify: "esbuild",
|
|
sourcemap: false,
|
|
},
|
|
}));
|