| 1 | // Alchemy loads this config natively — no adapter or deployment preset |
| 2 | // needed here: TanStack Start is pure Vite, and `Prisma.Website.TanStackStart` |
| 3 | // wraps the emitted server entry as a Node HTTP server after the |
| 4 | // build. Keep Vite's default `dist` outDir — the integration expects it. |
| 5 | import tailwindcss from "@tailwindcss/vite"; |
| 6 | import { tanstackStart } from "@tanstack/react-start/plugin/vite"; |
| 7 | import viteReact from "@vitejs/plugin-react"; |
| 8 | import { defineConfig } from "vite"; |
| 9 | |
| 10 | export default defineConfig({ |
| 11 | plugins: [tailwindcss(), tanstackStart(), viteReact()], |
| 12 | }); |