fix: add ssr adapter for vercel

This commit is contained in:
DuroCodes
2024-08-18 21:25:28 -04:00
parent ce43080fb5
commit a7e1256010
3 changed files with 6 additions and 2 deletions

View File

@@ -2,8 +2,11 @@ import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import preact from "@astrojs/preact";
import vercel from "@astrojs/vercel/serverless";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), preact()],
output: 'server'
});
output: 'server',
adapter: vercel()
});

BIN
bun.lockb

Binary file not shown.

View File

@@ -5,6 +5,7 @@
"@astrojs/check": "^0.9.2",
"@astrojs/preact": "^3.5.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.7.2",
"@nanostores/preact": "^0.5.2",
"astro": "^4.14.2",
"nanostores": "^0.11.2",