From 564474f92711bbd496376b8abe4ee7500c2a8d5f Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 19 Feb 2026 00:44:27 -0800 Subject: [PATCH] Remove Vite configuration file for web application --- apps/web/vite.config.js | 44 ----------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 apps/web/vite.config.js diff --git a/apps/web/vite.config.js b/apps/web/vite.config.js deleted file mode 100644 index 61dd9edbbb16b669da701f3b30ab1c33049e8bf3..0000000000000000000000000000000000000000 --- a/apps/web/vite.config.js +++ /dev/null @@ -1,44 +0,0 @@ -import tailwindcss from "@tailwindcss/vite"; -import react from "@vitejs/plugin-react"; -import { tanstackRouter } from "@tanstack/router-plugin/vite"; -import { defineConfig } from "vite"; -const port = Number(process.env.PORT ?? 5173); -export default defineConfig({ - plugins: [ - tanstackRouter(), - react({ - babel: { - plugins: [["babel-plugin-react-compiler", { target: "19" }]], - }, - }), - tailwindcss(), - ], - optimizeDeps: { - include: ["@pierre/diffs", "@pierre/diffs/react", "@pierre/diffs/worker/worker.js"], - }, - define: { - // In dev mode, tell the web app where the WebSocket server lives - "import.meta.env.VITE_WS_URL": JSON.stringify(process.env.VITE_WS_URL ?? ""), - }, - experimental: { - enableNativePlugin: true, - }, - resolve: { - tsconfigPaths: true, - }, - server: { - port, - strictPort: true, - hmr: { - // Explicit config so Vite's HMR WebSocket connects reliably - // inside Electron's BrowserWindow. Vite 8 uses console.debug for - // connection logs — enable "Verbose" in DevTools to see them. - protocol: "ws", - host: "localhost", - }, - }, - build: { - outDir: "dist", - emptyOutDir: true, - }, -}); -- 2.54.0