Skip to content

Commit

Permalink
fix: sentry sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Jan 28, 2025
1 parent 8a66c0f commit 8a6556a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,14 @@ module.exports = withSentryConfig(
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
// silent: true,
// Enable debug IDs
injectDebugIds: true,

// Enable source map uploading
sourcemaps: {
assets: "./**/*.{js,map}",
ignore: ["node_modules/**/*"],
},

org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
Expand All @@ -94,6 +100,12 @@ module.exports = withSentryConfig(
setCommits: {
auto: true,
},

// Enable debug mode for more verbose output
debug: true,

// Suppresses source map uploading logs during build
// silent: true,
},
{
// For all available options, see:
Expand Down

0 comments on commit 8a6556a

Please sign in to comment.