Skip to content

Commit

Permalink
Revert "Set up error tracking"
Browse files Browse the repository at this point in the history
This reverts commit e82f7dd.
  • Loading branch information
tematz committed Jan 2, 2024
1 parent 61b01dc commit 90a10cb
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8,035 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# Sentry Auth Token
.sentryclirc
36 changes: 0 additions & 36 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,3 @@ const nextConfig = {
}

module.exports = nextConfig

// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");

module.exports = withSentryConfig(
module.exports,
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: true,
org: "code-with-mosh",
project: "issue-tracker",
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: true,

// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: "/monitoring",

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

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

0 comments on commit 90a10cb

Please sign in to comment.