feat(gui): Build vite frontend using mode=production (#192)

This commit is contained in:
binarybaron 2024-11-19 16:25:58 +01:00 committed by GitHub
parent c5958c4dc1
commit 5192114d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@
"test:ui": "vitest --ui", "test:ui": "vitest --ui",
"dev": "vite", "dev": "vite",
"prebuild": "yarn run gen-bindings", "prebuild": "yarn run gen-bindings",
"build": "vite build --mode dev", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"tauri": "tauri" "tauri": "tauri"
}, },
@ -66,4 +66,4 @@
"vite-tsconfig-paths": "^4.3.2", "vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.1.1" "vitest": "^2.1.1"
} }
} }