aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2025-01-05 01:46:02 +0100
committerGeckoEidechse <gecko.eidechse+git@pm.me>2025-01-05 01:46:02 +0100
commit517b9594930dde03f7cf2686bbbef4cc09a6455b (patch)
treeebdc93ecfd6984e8c2a9562d4b52141a257da929
parent0fdbcc62daff1b0f8ce198c4002edfd6d727eb75 (diff)
downloadFlightCore-517b9594930dde03f7cf2686bbbef4cc09a6455b.tar.gz
FlightCore-517b9594930dde03f7cf2686bbbef4cc09a6455b.zip
docs: Adjust comments
to be closer to those in the Tauri v2
-rw-r--r--src-vue/vite.config.ts6
1 files changed, 4 insertions, 2 deletions
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,
},