mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
deploy Tanstack Start to Vercel
This commit is contained in:
@@ -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
@@ -22,7 +22,8 @@
|
||||
"!.next/cache/**",
|
||||
"dist/**",
|
||||
"out",
|
||||
"build"
|
||||
"build",
|
||||
".vercel"
|
||||
]
|
||||
},
|
||||
"lint": {},
|
||||
|
||||
Reference in New Issue
Block a user