From b34c5413633ff4faffc626142f0cc83175d94747 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 6 Jan 2024 23:41:04 -0500 Subject: Add Astro Vercel serverless adapter and update Astro version in package.json --- astro.config.mjs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'astro.config.mjs') diff --git a/astro.config.mjs b/astro.config.mjs index 5db1b38..94c0fa4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,7 +1,11 @@ import { defineConfig } from 'astro/config'; import icon from "astro-icon"; +import vercel from "@astrojs/vercel/serverless"; + // https://astro.build/config export default defineConfig({ - integrations: [icon()], -}); + integrations: [icon()], + output: "server", + adapter: vercel() +}); \ No newline at end of file -- cgit v1.2.3