1import { defineNuxtConfig } from "nuxt/config";
2
3/**
4 * The USER's own nuxt.config.ts — loaded natively by the integration (c12
5 * through the project's @nuxt/kit). The settings below are all observable
6 * from the e2e suite, proving the file actually applied:
7 *
8 * - `runtimeConfig.public.fixtureMarker` renders on the home page.
9 * - `routeRules["/prerendered"].prerender` makes nitro prerender that route
10 * into `.output/public` at build time.
11 *
12 * Note there is NO `nitro.preset` here: the deploy target owns the preset
13 * (a user-set foreign preset is a hard error by design).
14 */
15export default defineNuxtConfig({
16 compatibilityDate: "2026-07-01",
17 telemetry: { enabled: false },
18 runtimeConfig: {
19 public: {
20 fixtureMarker: "user-nuxt-config-loaded",
21 },
22 },
23 routeRules: {
24 "/prerendered": { prerender: true },
25 },
26});