diff --git a/src-vue/vite.config.ts b/src-vue/vite.config.ts index a344d5e4..7cb124b6 100644 --- a/src-vue/vite.config.ts +++ b/src-vue/vite.config.ts @@ -3,9 +3,11 @@ import vue from "@vitejs/plugin-vue"; // https://vitejs.dev/config/ export default defineConfig({ - // prevent vite from obscuring rust errors + // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` + // + // 1. prevent vite from obscuring rust errors clearScreen: false, - // Tauri expects a fixed port, fail if that port is not available + // 2. tauri expects a fixed port, fail if that port is not available server: { strictPort: true, },