Fixed namespace, updated mobile navbar z-index

This commit is contained in:
Alois 2026-04-05 11:41:05 +02:00
commit 287d01c157
25 changed files with 30 additions and 45 deletions

View file

@ -3,7 +3,30 @@ import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
import tailwindcss from "@tailwindcss/vite";
const host = process.env.TAURI_DEV_HOST;
export default defineConfig({
clearScreen: false,
server: {
port: 5173,
strictPort: true,
host: host || "0.0.0.0",
hmr: host
? {
protocol: "ws",
host,
port: 1421,
}
: undefined,
watch: {
ignored: ["**/src-tauri/**"],
},
},
envPrefix: ["VITE_", "TAURI_ENV_*"],
build: {
minify: !process.env.TAURI_ENV_DEBUG ? "esbuild" : false,
sourcemap: !!process.env.TAURI_ENV_DEBUG,
},
plugins: [react(), tsconfigPaths(), tailwindcss()],
worker: {
format: "es",