mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-20 01:07:44 +02:00
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
19 lines
602 B
TypeScript
19 lines
602 B
TypeScript
import { defineConfig } from "vite";
|
|
|
|
// `Cloudflare.Website.Vite` declares an `ssr` environment but doesn't set a
|
|
// worker entry by default. For non-framework projects (no React/Vue
|
|
// plugin to inject one), Vite 8 errors out with "rollupOptions.input
|
|
// should not be an html file when building for SSR". We point the SSR
|
|
// build at our minimal worker entry so the cloudflare-vite-plugin can
|
|
// wrap it into the worker bundle.
|
|
export default defineConfig({
|
|
environments: {
|
|
ssr: {
|
|
build: {
|
|
rollupOptions: {
|
|
input: "./src/worker.ts",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|