Skip to content

Commit

Permalink
fix: improve sentry config 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rmonnier9 committed Nov 8, 2024
1 parent e1bcb35 commit f114fa5
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 226 deletions.
10 changes: 7 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,16 @@ const nextjsConfig = {

module.exports = WITH_SENTRY
? withSentryConfig(nextjsConfig, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
sentryUrl: process.env.SENTRY_URL,
authToken: process.env.SENTRY_AUTH_TOKEN,

// Only print logs for uploading source maps in CI
silent: !process.env.CI,

// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

/**
* Options related to react component name annotations.
* Disabled by default, unless a value is set for this option.
Expand Down
Loading

0 comments on commit f114fa5

Please sign in to comment.