🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(web): Fix sentry deprecation warnings (#14814)
Ben Bachembfa90aade858
diff --git a/web/next.config.mjs b/web/next.config.mjsindex b2f06828c5..cd60902aa9 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -268,11 +268,6 @@ const sentryConfig = withSentryConfig(nextConfig, {// Upload a larger set of source maps for prettier stack traces (increases build time)widenClientFileUpload: true,- // Automatically annotate React components to show their full name in breadcrumbs and session replay- reactComponentAnnotation: {- enabled: true,- },-// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.// This can increase your server load as well as your hosting bill.// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-@@ -284,14 +279,23 @@ const sentryConfig = withSentryConfig(nextConfig, {disable: true,},- // Automatically tree-shake Sentry logger statements to reduce bundle size- disableLogger: true,-// Enables automatic instrumentation of Vercel Cron Monitors. (Does not yet work with App Router route handlers.)// See the following for more information:// https://docs.sentry.io/product/crons/// https://vercel.com/docs/cron-jobsautomaticVercelMonitors: false,-});++ webpack: {+ // Automatically annotate React components to show their full name in breadcrumbs and session replay.+ reactComponentAnnotation: {+ enabled: true,+ },++ // Automatically tree-shake Sentry logger statements to reduce bundle size.+ treeshake: {+ removeDebugLogging: true,+ },+ },+ });export default sentryConfig;