Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
pangilinanervin22 committed Mar 3, 2023
1 parent 14b968b commit 7a4d116
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 8 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";

import sitemap from "@astrojs/sitemap";

// https://astro.build/config
import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
site: "https://example.com",
integrations: [mdx(), sitemap()],
});
site: "https://example.com",
integrations: [mdx(), sitemap()],
output: "server",
adapter: vercel()
});
19 changes: 7 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.17",
"@astrojs/mdx": "^0.17.2",
"@astrojs/rss": "^2.1.1",
"@astrojs/sitemap": "^1.1.0"
"@astrojs/sitemap": "^1.1.0",
"@astrojs/vercel": "^3.1.4",
"astro": "^2.0.17"
}
}

0 comments on commit 7a4d116

Please sign in to comment.