Revert "feat(observability): add sentry monitoring"

This reverts commit e21f2502a5.
This commit is contained in:
2026-06-23 11:51:23 +08:00
parent e21f2502a5
commit c9d75b6fe6
8 changed files with 22 additions and 1400 deletions
+1 -13
View File
@@ -1,4 +1,3 @@
import { withSentryConfig } from "@sentry/nextjs";
import type { NextConfig } from "next";
import { withSerwist } from "@serwist/turbopack";
@@ -37,15 +36,4 @@ const nextConfig: NextConfig = {
},
};
export default withSentryConfig(withSerwist(nextConfig), {
org: process.env.SENTRY_ORG ?? "shenzhen-banlv-zhidao-technolo",
project: process.env.SENTRY_PROJECT ?? "javascript-nextjs",
silent: !process.env.CI,
widenClientFileUpload: true,
webpack: {
automaticVercelMonitors: true,
treeshake: {
removeDebugLogging: true,
},
},
});
export default withSerwist(nextConfig);