Skip to content

Commit 1563088

Browse files
authored
Init Sentry and Tailwind (#12)
* Init Tailwind Signed-off-by: GitHub <[email protected]> * Init Sentry Signed-off-by: GitHub <[email protected]> --------- Signed-off-by: GitHub <[email protected]>
1 parent 9800a1c commit 1563088

File tree

4 files changed

+684
-3
lines changed

4 files changed

+684
-3
lines changed

astro.config.mjs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@ import { defineConfig } from 'astro/config';
22
import sentry from "@sentry/astro";
33
import spotlightjs from "@spotlightjs/astro";
44
import vercel from "@astrojs/vercel/serverless";
5-
65
import preact from "@astrojs/preact";
6+
import tailwind from "@astrojs/tailwind";
77

88
// https://astro.build/config
99
export default defineConfig({
1010
site: "https://bradley.dog",
11-
integrations: [sentry(), spotlightjs(), preact()],
11+
integrations: [
12+
sentry({
13+
dsn: "https://[email protected]/4506532398432256",
14+
sourceMapsUploadOptions: {
15+
project: "bradley-dog",
16+
authToken: process.env.SENTRY_AUTH_TOKEN,
17+
},
18+
}),
19+
spotlightjs(), preact(), tailwind()
20+
],
1221
output: "server",
1322
adapter: vercel({
1423
webAnalytics: {
@@ -18,4 +27,4 @@ export default defineConfig({
1827
enabled: true
1928
}
2029
})
21-
});
30+
});

0 commit comments

Comments
 (0)