feat: vercel adapter

This commit is contained in:
TrèsAbhi committed 2024-10-09 22:04:43 -05:00
1 parent 53662c1174
commit e52063c12d
7 files changed
+50 -51

No files matched your search

+5 -3
View File
@@ -1,10 +1,15 @@
// @ts-check
import react from '@astrojs/react';
import vercel from '@astrojs/vercel/serverless';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { defineConfig } from 'astro/config';
export default defineConfig({
devToolbar: { enabled: false },
output: 'hybrid',
adapter: vercel(),
integrations: [react()],
vite: {
plugins: [vanillaExtractPlugin()],
@@ -15,7 +20,4 @@ export default defineConfig({
},
},
},
devToolbar: { enabled: false },
outDir: '../../dist/website',
});