From 2cda314727f4a8dacda30d918902ac4e5ca3d915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=BC=9F=E5=BC=BA?= Date: Mon, 29 May 2023 13:57:26 +0800 Subject: [PATCH] chore: handle sentry warning --- web/next.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/next.config.js b/web/next.config.js index 48acda42ed..f4bb94eddb 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -31,7 +31,9 @@ const nextConfig = { // https://nextjs.org/docs/api-reference/next.config.js/ignoring-typescript-errors ignoreBuildErrors: true, }, - sentry: {}, + sentry: { + hideSourceMaps: true + }, async redirects() { return [ {