Skip to content

Commit

Permalink
Setup Vercel Web Analytics and Speed Insights (#10)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Jan 7, 2024
1 parent 5464981 commit d56a31d
Show file tree
Hide file tree
Showing 5 changed files with 611 additions and 5 deletions.
15 changes: 13 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ import { defineConfig } from 'astro/config';
import sentry from "@sentry/astro";
import spotlightjs from "@spotlightjs/astro";

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

// https://astro.build/config
export default defineConfig({
integrations: [sentry(), spotlightjs()]
});
integrations: [sentry(), spotlightjs()],
output: "server",
adapter: vercel({
webAnalytics: {
enabled: true,
},
speedInsights: {
enabled: true,
},
}),
});
Loading

0 comments on commit d56a31d

Please sign in to comment.