| 1 | import { tanstackStart } from "@tanstack/react-start/plugin/vite"; |
| 2 | import viteReact from "@vitejs/plugin-react"; |
| 3 | import { defineConfig } from "vite"; |
| 4 | |
| 5 | /** |
| 6 | * The fixture's own vite.config.ts — loaded natively by the integration. |
| 7 | * Observable from the live test: |
| 8 | * |
| 9 | * - `__FIXTURE_MARKER__` is defined here and rendered on the SSR home page, |
| 10 | * proving the project's own config was applied. |
| 11 | * |
| 12 | * No deploy-target wiring here: TanStack Start is pure Vite, and the AWS |
| 13 | * target wraps the emitted server entry after the build. |
| 14 | */ |
| 15 | export default defineConfig({ |
| 16 | plugins: [tanstackStart(), viteReact()], |
| 17 | define: { |
| 18 | __FIXTURE_MARKER__: JSON.stringify("tanstack-start-aws-user-config-loaded"), |
| 19 | }, |
| 20 | }); |