fixed all warnings :D

This commit is contained in:
Oliver Bryan
2025-12-31 18:08:47 +00:00
parent 70ef02f790
commit 8b6dad8a2a
23 changed files with 138 additions and 145 deletions

View File

@@ -1,9 +1,8 @@
import path from "path";
import path from "node:path";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
// @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST;
// https://vite.dev/config/
@@ -23,8 +22,8 @@ export default defineConfig(async () => ({
server: {
port: 1420,
strictPort: true,
allowedHosts: ["issue.ob248.com"],
host: host || false,
allowedHosts: ["issue.ob248.com"],
host: host || false,
hmr: host
? {
protocol: "ws",