fix CI SPA prerender build
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user