mirror of
https://github.com/SrIzan10/spongebin.git
synced 2026-05-01 11:05:09 +00:00
fix: add ssr adapter for vercel
This commit is contained in:
@@ -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()
|
||||
});
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user