From 5a6061ff61044b4db5d60b125d4c204ac4fbeabb Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 29 May 2023 13:58:32 +0800 Subject: [PATCH] chore: handle sentry warning (#236) --- 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 [ {