@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
ts 27 lines 878 Bytes
Raw
1 import { defineNuxtConfig } from "nuxt/config";
2
3 /**
4 * The fixture's own nuxt.config.ts — loaded natively by the integration.
5 * Observable from the live test:
6 *
7 * - `runtimeConfig.public.fixtureMarker` renders on the SSR home page.
8 * - `routeRules["/prerendered"].prerender` makes nitro prerender that
9 * route into `.output/public` at build time (served from S3).
10 *
11 * NO `nitro.preset` here: the AWS deploy target owns the preset.
12 */
13 export default defineNuxtConfig({
14 compatibilityDate: "2026-07-01",
15 telemetry: { enabled: false },
16 runtimeConfig: {
17 public: {
18 fixtureMarker: "nuxt-aws-user-config-loaded",
19 // Overridden at runtime by NUXT_PUBLIC_ENV_MARKER — proves
20 // dev/live env parity (sidecar process env vs Lambda env).
21 envMarker: "env-not-set",
22 },
23 },
24 routeRules: {
25 "/prerendered": { prerender: true },
26 },
27 });