mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-29 03:52:20 -04:00
Fix sentry source maps (2)
This commit is contained in:
@@ -134,7 +134,10 @@ export default withSentryConfig(nextConfig, {
|
||||
// side errors will fail.
|
||||
tunnelRoute: isAppBuild ? undefined : '/monitoring',
|
||||
|
||||
// sourcemaps: {disable: true}, // prevents source maps being served to browser
|
||||
sourcemaps: {
|
||||
disable: false, // ✅ enable uploading to Sentry
|
||||
deleteSourcemapsAfterUpload: true, // ✅ removes them from the server after upload so they're not publicly served
|
||||
},
|
||||
|
||||
webpack: {
|
||||
// Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)
|
||||
|
||||
Reference in New Issue
Block a user