File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff 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:
@@ -208,7 +210,7 @@ module.exports = withBundleAnalyzer(
208210 tunnelRoute : "/err" ,
209211
210212 // Hides source maps from generated client bundles
211- hideSourceMaps : true ,
213+ hideSourceMaps : false ,
212214
213215 // Automatically tree-shake Sentry logger statements to reduce bundle size
214216 disableLogger : true ,
Original file line number Diff line number Diff line change 8080 "persistent" : true
8181 },
8282 "thirdweb-dashboard#dev" : {
83- "dependsOn" : [" ^build" ]
83+ "dependsOn" : [" ^build" ],
84+ "env" : [" SENTRY_AUTH_TOKEN" ]
8485 },
8586 "clean" : {
8687 "cache" : false
You can’t perform that action at this time.
0 commit comments