Skip to content

Commit

Permalink
Merge pull request #4316 from luke-h1/chore/remove-sentry
Browse files Browse the repository at this point in the history
chore(frontend): remove sentry
  • Loading branch information
luke-h1 authored Jan 17, 2024
2 parents a068062 + b17bf9b commit b239a5a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 46 deletions.
21 changes: 1 addition & 20 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,6 @@ const securityHeaders = [
},
];

const sentryConfigPlugins = {
silent: true,
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
};

const sentryConfig = {
widenClientFileUpload: false,
transpileClientSDK: false,
tunnelRoute: '/api/sentry-metrics',
hideSourceMaps: true,
disableLogger: true,
automaticVercelMonitors: false,
};

/**
* @type {import('next').NextConfig}
*/
Expand Down Expand Up @@ -147,8 +132,4 @@ const nextConfig = {
},
};

module.exports = withSentryConfig(
withVanillaExtract(nextConfig),
sentryConfigPlugins,
sentryConfig,
);
module.exports = withSentryConfig(withVanillaExtract(nextConfig));
12 changes: 0 additions & 12 deletions sentry.client.config.ts

This file was deleted.

7 changes: 0 additions & 7 deletions sentry.edge.config.ts

This file was deleted.

7 changes: 0 additions & 7 deletions sentry.server.config.ts

This file was deleted.

0 comments on commit b239a5a

Please sign in to comment.