feat: initial PSG Launcher scaffold

This commit is contained in:
2026-05-27 09:01:09 +08:00
commit 2c9b591c52
110 changed files with 11150 additions and 0 deletions

25
vite.config.ts Normal file
View File

@@ -0,0 +1,25 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// Tauri dev server host (set by the CLI when using --host)
const host = process.env.TAURI_DEV_HOST;
export default defineConfig({
plugins: [react()],
// Prevent Vite from obscuring Rust errors
clearScreen: false,
server: {
port: 1420,
strictPort: true,
host: host || false,
hmr: host
? { protocol: "ws", host, port: 1421 }
: undefined,
watch: {
// Tell Vite to ignore watching `src-tauri`
ignored: ["**/src-tauri/**"],
},
},
});