Skip to content

Commit ddf7d0b

Browse files
committed
Add Sentry auth token to fix sourcemaps
1 parent 3a141e7 commit ddf7d0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/dashboard/next.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,12 @@ module.exports = withBundleAnalyzer(
189189
// For all available options, see:
190190
// https://github.com/getsentry/sentry-webpack-plugin#options
191191

192-
// Suppresses source map uploading logs during build
193-
silent: true,
194192
org: "thirdweb-dev",
195193
project: "dashboard",
194+
// An auth token is required for uploading source maps.
195+
authToken: process.env.SENTRY_AUTH_TOKEN,
196+
// Suppresses source map uploading logs during build
197+
silent: false,
196198
},
197199
{
198200
// For all available options, see:

0 commit comments

Comments
 (0)