deploy Tanstack Start to Vercel

This commit is contained in:
Fuma Nama
2025-04-07 16:11:49 +08:00
parent 3aac8e0718
commit 2bfef878ac
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
server: {
preset: 'vercel',
hooks: {
'prerender:routes': async (routes) => {
const { source } = await import('./lib/source');
+2 -1
View File
@@ -22,7 +22,8 @@
"!.next/cache/**",
"dist/**",
"out",
"build"
"build",
".vercel"
]
},
"lint": {},