Skip to content

Commit

Permalink
remove sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
dlford committed Sep 19, 2024
1 parent ef58cd1 commit 02e76e1
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 1,283 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ next-env.d.ts
**/public/robots.txt
**/public/sitemap.xml
**/public/sitemap-*.xml

# Sentry
.sentryclirc
10 changes: 1 addition & 9 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import('next').NextConfig} */
const { i18n } = require('./next-i18next.config');
const { withSentryConfig } = require('@sentry/nextjs');

const withImages = require('next-images');
const withYaml = require('next-plugin-yaml');
Expand All @@ -12,11 +11,6 @@ const nextConfig = {
disableStaticImages: true,
},
i18n,
sentry: {
hideSourceMaps: true,
disableServerWebpackPlugin: true,
disableClientWebpackPlugin: true,
},
};

const withPWA = require('next-pwa')({
Expand All @@ -28,6 +22,4 @@ const withPWA = require('next-pwa')({
reloadOnOnline: true,
});

module.exports = withSentryConfig(
withPWA(withImages(withYaml(nextConfig))),
);
module.exports = withPWA(withImages(withYaml(nextConfig)));
Loading

0 comments on commit 02e76e1

Please sign in to comment.