import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import tailwindcss from "@tailwindcss/vite"; // https://tauri.app/start/frontend/vite/ export default defineConfig(async () => ({ plugins: [react(), tailwindcss()], // Vite options tailored for Tauri development clearScreen: false, server: { port: 5173, strictPort: true, host: false, hmr: { protocol: "ws", port: 5174, }, watch: { ignored: ["**/src-tauri/**"], }, }, }));