diff --git a/next.config.mjs b/next.config.mjs index 28119a6e9..0116d4c2d 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -558,19 +558,8 @@ import createNextIntlPlugin from 'next-intl/plugin'; const withNextIntl = createNextIntlPlugin(); resolvedConfig = withNextIntl(resolvedConfig); -resolvedConfig = withSentryConfig( - resolvedConfig, - { - silent: !process.env.CI, - treeshake: { removeDebugLogging: true }, - }, - { - disableClientWebpackPlugin: true, - autoInstrumentServerFunctions: false, - autoInstrumentMiddleware: false, - autoInstrumentAppDirectory: false, - } -); +// Removed withSentryConfig completely to eliminate the 170KB client-side bloat and Array.from legacy polyfill. +// Server-side instrumentation is still handled manually in instrumentation.ts. // Manually merge baseNextConfig properties const finalConfig = {