fix CI SPA prerender build
CI / Typecheck, test & build (push) Failing after 2m3s
CI / Deploy to Cloudflare Workers (push) Has been skipped

This commit is contained in:
2026-08-31 01:22:01 +08:00
parent a0d0bd8b08
commit 848de4e309
5 changed files with 265 additions and 419 deletions
-2
View File
@@ -5,7 +5,6 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import { nitro } from 'nitro/vite'
// SPA mode: auth is Bearer-token client-side (localStorage), so route guards
// and data fetching must not run during SSR.
@@ -14,7 +13,6 @@ const config = defineConfig({
plugins: [
devtools(),
tanstackStart({ spa: { enabled: true } }),
nitro({ rollupConfig: { external: [/^@sentry\//] } }),
tailwindcss(),
viteReact(),
],