Skip to content

Commit

Permalink
chore(deploy): vercel adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
vclemenzi committed Jan 10, 2024
1 parent 4e421f2 commit ec3cc82
Show file tree
Hide file tree
Showing 3 changed files with 352 additions and 8 deletions.
7 changes: 3 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
import node from "@astrojs/node";
import compressor from "astro-compressor";

import sitemap from "@astrojs/sitemap";

import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
output: "server",
integrations: [tailwind(), react(), compressor(), sitemap()],
adapter: node({
mode: "standalone"
})
adapter: vercel()
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@astrojs/sitemap": "^3.0.4",
"@astrojs/vercel": "^6.1.3",
"astro": "^4.0.8",
"astro-compressor": "^0.4.1",
"chart.js": "^4.4.1",
Expand Down
Loading

0 comments on commit ec3cc82

Please sign in to comment.