Revert "add sentry to investigate 500 errors"

This reverts commit 8f946d50d8.
This commit is contained in:
jake committed 2025-03-06 08:27:48 -05:00
1 parent 3804298210
commit 377db1adcb
10 files changed
+16 -2009

No files matched your search

+1 -15
View File
@@ -1,7 +1,6 @@
import type { NextConfig } from "next";
import createMDX from "@next/mdx";
import createBundleAnalyzer from "@next/bundle-analyzer";
import { withSentryConfig } from "@sentry/nextjs";
import * as mdxPlugins from "./lib/helpers/remark-rehype-plugins";
const nextConfig: NextConfig = {
@@ -159,17 +158,4 @@ const withMDX = createMDX({
},
});
export default withSentryConfig(withBundleAnalyzer(withMDX(nextConfig)), {
// https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/build/
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
silent: !process.env.CI,
widenClientFileUpload: true,
autoInstrumentAppDirectory: true,
autoInstrumentMiddleware: false,
autoInstrumentServerFunctions: true,
tunnelRoute: "/_instrument/",
disableLogger: true,
automaticVercelMonitors: true,
telemetry: false,
});
export default withBundleAnalyzer(withMDX(nextConfig));