Skip to content

Commit 72d21cb

Browse files
authored
Add Spotlight (#27)
ref: https://spotlightjs.com/setup/astro/ Signed-off-by: GitHub <[email protected]>
1 parent 0c33962 commit 72d21cb

File tree

3 files changed

+46
-9
lines changed

3 files changed

+46
-9
lines changed

astro.config.mjs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { defineConfig } from "astro/config";
22
import sentry from "@sentry/astro";
3+
import spotlightjs from "@spotlightjs/astro";
34

5+
// https://astro.build/config
46
export default defineConfig({
5-
integrations: [
6-
sentry({
7-
dsn: "https://[email protected]/4506532398432256",
8-
sourceMapsUploadOptions: {
9-
project: "bradley-dog",
10-
authToken: process.env.SENTRY_AUTH_TOKEN,
11-
},
12-
}),
13-
],
7+
integrations: [sentry({
8+
dsn: "https://[email protected]/4506532398432256",
9+
sourceMapsUploadOptions: {
10+
project: "bradley-dog",
11+
authToken: process.env.SENTRY_AUTH_TOKEN
12+
}
13+
}), spotlightjs()]
1414
});

package-lock.json

Lines changed: 36 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
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/check": "^0.7.0",
1414
"@sentry/astro": "^8.12.0",
15+
"@spotlightjs/astro": "^2.0.0",
1516
"astro": "^4.11.1",
1617
"typescript": "^5.5.2"
1718
},

0 commit comments

Comments
 (0)