Skip to content

Commit

Permalink
Merge pull request #176 from gruz0/refactor/add-sentry-auth-token
Browse files Browse the repository at this point in the history
Add Sentry auth token to send sourcemaps
  • Loading branch information
gruz0 authored Nov 20, 2024
2 parents 0782a26 + a14f7c2 commit 16769bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ export default withSentryConfig(bundleAnalyzer(nextConfig), {

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,

// The authentication token to use for all communication with Sentry.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-source-maps
authToken: process.env.SENTRY_AUTH_TOKEN,
})

0 comments on commit 16769bf

Please sign in to comment.