import { defineConfig } from "vite"; import { tanstackStart } from "@tanstack/react-start/plugin/vite"; import viteReact from "@vitejs/plugin-react"; // TanStack Start full-stack app. The plugin wires SSR + file-based routing // (routes live in src/routes, routeTree.gen.ts is generated automatically). export default defineConfig({ server: { port: 3000, host: true }, plugins: [tanstackStart(), viteReact()], });