From 550df0bc51a480ef0308f2f16da00d94d83943c3 Mon Sep 17 00:00:00 2001 From: haunter Date: Thu, 24 Jul 2025 15:02:07 +0000 Subject: [PATCH] Update next.config.ts --- next.config.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/next.config.ts b/next.config.ts index 6a646a0..f4729e0 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,6 +1,5 @@ -import { withSentryConfig } from "@sentry/nextjs"; -import { NextConfig } from "next"; import { PHASE_PRODUCTION_BUILD } from "next/constants"; +import type { NextConfig } from "next"; const nextConfig = (phase: string): NextConfig => ({ output: phase === PHASE_PRODUCTION_BUILD ? "export" : undefined, @@ -76,14 +75,4 @@ const nextConfig = (phase: string): NextConfig => ({ ], }); -export default withSentryConfig(nextConfig, { - // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ - org: process.env.SENTRY_ORG, - project: "javascript-nextjs", - widenClientFileUpload: true, - reactComponentAnnotation: { - enabled: true, - }, - hideSourceMaps: true, - disableLogger: true, -}); +export default nextConfig;