Skip to content

Commit f10ff5f

Browse files
committed
ae
1 parent 476f8c7 commit f10ff5f

File tree

4 files changed

+342
-12
lines changed

4 files changed

+342
-12
lines changed

astro.config.mjs

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
import { defineConfig } from "astro/config";
22
import mdx from "@astrojs/mdx";
33
import preact from "@astrojs/preact";
4+
import vercel from "@astrojs/vercel/static";
45

56
// https://astro.build/config
67
export default defineConfig({
7-
site: "https://laker.tech",
8-
image: {
9-
domains: ["cdn.laker.tech"],
10-
},
11-
integrations: [mdx(), preact()],
12-
prefetch: {
13-
prefetchAll: true
14-
}
8+
site: "https://laker.tech",
9+
10+
image: {
11+
domains: ["cdn.laker.tech"],
12+
},
13+
14+
integrations: [mdx(), preact()],
15+
16+
prefetch: {
17+
prefetchAll: true
18+
},
19+
20+
output: "static",
21+
adapter: vercel()
1522
});

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@astrojs/preact": "^3.5.2",
1717
"@astrojs/react": "^3.6.2",
1818
"@astrojs/rss": "^4.0.7",
19+
"@astrojs/vercel": "^7.8.0",
1920
"@types/react": "^18.3.3",
2021
"@types/react-dom": "^18.3.0",
2122
"add": "^2.0.6",

0 commit comments

Comments
 (0)