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))