Skip to content

Commit 7e83828

Browse files
committed
??
1 parent 75a59fc commit 7e83828

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

astro.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import rehypeExternalLinks from "rehype-external-links";
33
import tailwind from "@astrojs/tailwind";
44
import react from "@astrojs/react";
55
import mdx from "@astrojs/mdx";
6+
import vercel from '@astrojs/vercel/serverless';
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -36,4 +37,8 @@ export default defineConfig({
3637
gfm: true,
3738
}),
3839
],
40+
output: 'server',
41+
adapter: vercel({
42+
webAnalytics: { enabled: true }
43+
}),
3944
});

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@radix-ui/react-toggle": "^1.1.0",
4040
"@types/react": "^18.3.11",
4141
"@types/react-dom": "^18.3.1",
42+
"@vercel/analytics": "^1.3.1",
4243
"astro": "^4.12.2",
4344
"class-variance-authority": "^0.7.0",
4445
"clsx": "^2.1.1",

0 commit comments

Comments
 (0)