chore: scaffold Tauri v2 + Vite + React project structure

This commit is contained in:
2026-08-12 16:48:27 +02:00
commit a1032ddf11
19 changed files with 6832 additions and 0 deletions

16
vite.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
clearScreen: false,
server: {
port: 1420,
strictPort: true,
},
build: {
target: "chrome105",
minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
sourcemap: !!process.env.TAURI_DEBUG,
},
});