@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 36 lines 986 Bytes
Raw
1 import path from "node:path";
2 import * as Options from "@alchemy.run/cloudflare-test-tools/e2e/Options";
3
4 export default Options.make({
5 vite: {
6 main: path.resolve(import.meta.dirname, "react-router-vite/entry.worker.tsx"),
7 compatibilityDate: "2026-03-10",
8 compatibilityFlags: ["nodejs_compat"],
9 viteEnvironments: { entry: "rsc", children: ["ssr"] },
10 worker: {
11 name: "fixtures-react-router-rsc",
12 bindings: [],
13 assets: {
14 htmlHandling: "auto-trailing-slash",
15 notFoundHandling: "none",
16 },
17 },
18 },
19 miniflare: {
20 compatibilityDate: "2026-03-10",
21 compatibilityFlags: ["nodejs_compat"],
22 assets: {
23 routerConfig: {
24 has_user_worker: true,
25 invoke_user_worker_ahead_of_assets: false,
26 debug: true,
27 },
28 assetConfig: {
29 html_handling: "auto-trailing-slash",
30 not_found_handling: "none",
31 debug: true,
32 has_static_routing: false,
33 },
34 },
35 },
36 });