@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, 06:00 UTC

main
ts 20 lines 654 Bytes
Raw
1 import { reactRouter } from "@react-router/dev/vite";
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 deploy-target wiring here: `reactRouter()` owns both build
12 * environments, and the AWS target wraps the emitted server entry after the
13 * build.
14 */
15 export default defineConfig({
16 plugins: [reactRouter()],
17 define: {
18 __FIXTURE_MARKER__: JSON.stringify("react-router-aws-user-config-loaded"),
19 },
20 });