| 1 | import { solidStart } from "@solidjs/start/config"; |
| 2 | import { defineConfig } from "vite"; |
| 3 | |
| 4 | /** |
| 5 | * The fixture's own vite.config.ts — loaded natively by the integration. |
| 6 | * Observable from the live test: |
| 7 | * |
| 8 | * - `__FIXTURE_MARKER__` is defined here and rendered on the SSR home page, |
| 9 | * proving the project's own config was applied. |
| 10 | * |
| 11 | * NO `nitroV2Plugin()` here: the AWS deploy target owns the nitro preset and |
| 12 | * the integration appends its own instance. |
| 13 | */ |
| 14 | export default defineConfig({ |
| 15 | plugins: [solidStart()], |
| 16 | define: { |
| 17 | __FIXTURE_MARKER__: JSON.stringify("solidstart-aws-user-config-loaded"), |
| 18 | }, |
| 19 | }); |