Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sentry integration #1486

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { HmrOptions } from 'vite'

export default defineNuxtConfig({
modules: [
'@sentry/nuxt/module',
'@nuxtjs/sanity',
'nuxt-og-image',
'@nuxt/eslint',
Expand Down Expand Up @@ -122,6 +123,9 @@ export default defineNuxtConfig({
inviteToken: '',
},
public: {
sentry: {
dsn: '',
},
danielroe marked this conversation as resolved.
Show resolved Hide resolved
githubClientId: '',
},
},
Expand All @@ -139,7 +143,7 @@ export default defineNuxtConfig({
},
},

sourcemap: false,
sourcemap: { client: true },

future: {
compatibilityVersion: 4,
Expand Down Expand Up @@ -316,6 +320,13 @@ export default defineNuxtConfig({
},
},

sentry: {
sourceMapsUploadOptions: {
org: 'poetryco',
project: 'roe-dev',
},
},

social: {
networks: {
bluesky: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@nuxtjs/plausible": "1.0.3",
"@nuxtjs/sanity": "^1.13.0",
"@nuxtjs/web-vitals": "0.2.7",
"@sentry/nuxt": "^8.40.0",
"@unhead/vue": "1.11.11",
"@unocss/nuxt": "^0.64.0",
"@unocss/postcss": "^0.64.0",
Expand Down
Loading
Loading