-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sentry): added sentry for integration
- Loading branch information
1 parent
caf6f28
commit fc8edf8
Showing
4 changed files
with
483 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,32 @@ | ||
import {defineConfig} from 'astro/config'; | ||
|
||
import { defineConfig } from 'astro/config'; | ||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
import preact from "@astrojs/preact"; | ||
import icon from 'astro-icon'; | ||
import partytown from "@astrojs/partytown"; | ||
|
||
// https://astro.build/config | ||
import sentry from "@sentry/astro"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [tailwind(), preact({ | ||
compat: true | ||
}), icon({ | ||
include: { | ||
arcticons: ['mail', 'github', 'linkedin', 'x-twitter', 'document-viewer'] | ||
} | ||
}), partytown({ | ||
config: { | ||
forward: ['dataLayer.push'], | ||
} | ||
})], | ||
site: 'https://next.rsickenberg.me', | ||
output: 'static', | ||
integrations: [tailwind(), preact({ | ||
compat: true | ||
}), icon({ | ||
include: { | ||
arcticons: ['mail', 'github', 'linkedin', 'x-twitter', 'document-viewer'] | ||
} | ||
}), partytown({ | ||
config: { | ||
forward: ['dataLayer.push'] | ||
} | ||
}), sentry({ | ||
dsn: "https://[email protected]/4506882226323456", | ||
sourceMapsUploadOptions: { | ||
project: "rsickenberg-next", | ||
authToken: process.env.SENTRY_AUTH_TOKEN, | ||
}, | ||
})], | ||
site: 'https://next.rsickenberg.me', | ||
output: 'static' | ||
}); |
Oops, something went wrong.