template: tanstack_start_ts_current-6b12e5d4b74e

This commit is contained in:
Lovable
2026-07-21 15:07:15 +02:00
commit d319ad429c
73 changed files with 6531 additions and 0 deletions

15
vite.config.ts Normal file
View File

@@ -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:
// - TanStack devtools (dev-only, first), tanstackStart, viteReact, tailwindcss, tsConfigPaths,
// nitro (build-only using cloudflare as a default target), 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" },
},
});