Skip to content

Commit

Permalink
add vercel adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
ammakr committed Dec 7, 2024
1 parent 15ca223 commit da346f2
Show file tree
Hide file tree
Showing 4 changed files with 1,180 additions and 246 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
dist/
# generated types
.astro/
.vercel/

# dependencies
node_modules/
Expand Down
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
site: "https://athenaos.org/",
output: "hybrid",
adapter: vercel(),
integrations: [
starlight({
title: "Athena OS",
Expand Down Expand Up @@ -266,7 +267,6 @@ export default defineConfig({
},
],
}),
react(),
tailwind({ applyBaseStyles: false }),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
Expand Down
Loading

0 comments on commit da346f2

Please sign in to comment.