From c34fd3dfcb3d180d2b156a83ca677bf5471da3a7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 16 Jan 2023 12:25:34 +0100 Subject: [PATCH] Do not hide source maps in production --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index f0afd95..264eaf5 100644 --- a/next.config.js +++ b/next.config.js @@ -9,6 +9,9 @@ const { withSentryConfig } = require('@sentry/nextjs'); const moduleExports = { reactStrictMode: true, + sentry: { + hideSourceMaps: false, + } }; const sentryWebpackPluginOptions = {