Skip to content

Commit

Permalink
configure astro for gh pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Jan 12, 2024
1 parent 5784f48 commit 6a9ed34
Show file tree
Hide file tree
Showing 4 changed files with 4,046 additions and 6,125 deletions.
6 changes: 2 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import path from "path";
import sitemap from "@astrojs/sitemap";
import svelte from "@astrojs/svelte";
import prefetch from "@astrojs/prefetch";
import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
site: "https://pros-rs.vercel.app/",
site: "https://pros-rs.github.io",
base: "/website"
integrations: [sitemap(), svelte(), prefetch()],
output: "hybrid",
vite: {
build: {
sourcemap: true,
Expand All @@ -22,5 +21,4 @@ export default defineConfig({
},
},
},
adapter: vercel(),
});
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"@astrojs/prefetch": "^0.4.1",
"@astrojs/sitemap": "^3.0.4",
"@astrojs/svelte": "^5.0.3",
"@astrojs/vercel": "^6.1.4",
"astro": "^4.1.2",
"prettier": "^3.1.1",
"prettier-plugin-astro": "^0.12.3",
Expand Down
Loading

0 comments on commit 6a9ed34

Please sign in to comment.