From fd309dec1cdf7707ee55ba391c2e9b399731df18 Mon Sep 17 00:00:00 2001 From: Heat Hamilton Date: Thu, 25 Jul 2024 12:39:08 -0400 Subject: [PATCH] hidden sourcemaps --- next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 7daaced0a7..fa204890e5 100644 --- a/next.config.js +++ b/next.config.js @@ -56,7 +56,7 @@ module.exports = withHashicorp({ config.plugins.push(HashiConfigPlugin()) if (process.env.VERCEL_ENV !== 'development') { - config.devtool = 'nosources-source-map' + config.devtool = 'hidden-source-map' } return config @@ -108,4 +108,5 @@ module.exports = withHashicorp({ largePageDataBytes: 512 * 1000, // 512KB instrumentationHook: true, }, + productionBrowserSourceMaps: false, })