From 8b09c90832400110bf6a1e72c5f480f59cc00988 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 7 Aug 2026 04:12:21 +0000 Subject: [PATCH] Modified by www.SourceFiles.app --- vite.config.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vite.config.ts diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..2b8ccd1 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,15 @@ +// @lovable.dev/vite-tanstack-config already includes the following — do NOT add them manually +// or the app will break with duplicate plugins: +// - tanstackStart, viteReact, tailwindcss, tsConfigPaths, nitro (build-only using cloudflare as a default target), +// componentTagger (dev-only), VITE_* env injection, @ path alias, React/TanStack dedupe, +// error logger plugins, and sandbox detection (port/host/strictPort). +// You can pass additional config via defineConfig({ vite: { ... }, etc... }) if needed. +import { defineConfig } from "@lovable.dev/vite-tanstack-config"; + +export default defineConfig({ + tanstackStart: { + // Redirect TanStack Start's bundled server entry to src/server.ts (our SSR error wrapper). + // nitro/vite builds from this + server: { entry: "server" }, + }, +});