t3-code-android-nightly/.repos/alchemy-effect/packages/frontend-frameworks/fixtures/react-router-rsc/e2e.config.ts
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

39 lines
1,005 B
TypeScript

import * as Options from "@alchemy.run/cloudflare-test-tools/e2e/Options";
import path from "node:path";
export default Options.make({
vite: {
main: path.resolve(
import.meta.dirname,
"react-router-vite/entry.worker.tsx",
),
compatibilityDate: "2026-03-10",
compatibilityFlags: ["nodejs_compat"],
viteEnvironments: { entry: "rsc", children: ["ssr"] },
worker: {
name: "fixtures-react-router-rsc",
bindings: [],
assets: {
htmlHandling: "auto-trailing-slash",
notFoundHandling: "none",
},
},
},
miniflare: {
compatibilityDate: "2026-03-10",
compatibilityFlags: ["nodejs_compat"],
assets: {
routerConfig: {
has_user_worker: true,
invoke_user_worker_ahead_of_assets: false,
debug: true,
},
assetConfig: {
html_handling: "auto-trailing-slash",
not_found_handling: "none",
debug: true,
has_static_routing: false,
},
},
},
});