Skip to content

Commit 03ceaec

Browse files
authored
Remove Sentry integration
1 parent 7cce25b commit 03ceaec

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

Diff for: next.config.js

+1-34
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,4 @@ const nextConfig = {
1111
},
1212
};
1313

14-
const { withSentryConfig } = require("@sentry/nextjs");
15-
16-
module.exports = withSentryConfig(
17-
nextConfig,
18-
{
19-
// For all available options, see:
20-
// https://github.com/getsentry/sentry-webpack-plugin#options
21-
22-
// Suppresses source map uploading logs during build
23-
silent: true,
24-
25-
org: "vantezzen",
26-
project: "wrapped-for-tiktok",
27-
},
28-
{
29-
// For all available options, see:
30-
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
31-
32-
// Upload a larger set of source maps for prettier stack traces (increases build time)
33-
widenClientFileUpload: true,
34-
35-
// Transpiles SDK to be compatible with IE11 (increases bundle size)
36-
transpileClientSDK: true,
37-
38-
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
39-
tunnelRoute: "/monitoring",
40-
41-
// Hides source maps from generated client bundles
42-
hideSourceMaps: true,
43-
44-
// Automatically tree-shake Sentry logger statements to reduce bundle size
45-
disableLogger: true,
46-
}
47-
);
14+
module.exports = nextConfig;

0 commit comments

Comments
 (0)