Skip to content

Commit

Permalink
chore: update config of Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
ogous committed Aug 28, 2024
1 parent 8b15804 commit 766e315
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 56 deletions.
14 changes: 2 additions & 12 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,12 @@ module.exports = withSentryConfig(
// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Uncomment to route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
// This can increase your server load as well as your hosting bill.
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
// side errors will fail.
// tunnelRoute: "/monitoring",

// Hides source maps from generated client bundles
hideSourceMaps: true,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,

// Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)
// See the following for more information:
// https://docs.sentry.io/product/crons/
// https://vercel.com/docs/cron-jobs
automaticVercelMonitors: true,
autoInstrumentMiddleware: false,
autoInstrumentServerFunctions: false,
},
);
16 changes: 0 additions & 16 deletions web/sentry.edge.config.ts

This file was deleted.

19 changes: 0 additions & 19 deletions web/sentry.server.config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions web/src/instrumentation.ts

This file was deleted.

0 comments on commit 766e315

Please sign in to comment.