From 6ef7854c9f34bb6fa61eec9ef410de93157f3677 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 11:19:06 +0800 Subject: [PATCH] chore: remove debug code --- web/app/(commonLayout)/_layout-client.tsx | 1 - web/next.config.js | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/app/(commonLayout)/_layout-client.tsx b/web/app/(commonLayout)/_layout-client.tsx index b0d8490ac9..799f8985d3 100644 --- a/web/app/(commonLayout)/_layout-client.tsx +++ b/web/app/(commonLayout)/_layout-client.tsx @@ -76,7 +76,6 @@ const CommonLayout: FC = ({ children }) => {
- {children}
diff --git a/web/next.config.js b/web/next.config.js index c75fd3fe0a..48acda42ed 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -48,8 +48,12 @@ const sentryWebpackPluginOptions = { org: "perfectworld", project: "javascript-nextjs", silent: true, // Suppresses all logs + sourcemaps: { + assets: "./**", + ignore: ["./node_modules/**"], + }, // https://github.com/getsentry/sentry-webpack-plugin#options. } -module.exports = withSentryConfig(withMDX(nextConfig), sentryWebpackPluginOptions) +module.exports = withMDX(withSentryConfig(nextConfig, sentryWebpackPluginOptions))