diff --git a/web/next.config.js b/web/next.config.js index 90d3b9d98..deb951cca 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -5,7 +5,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ module.exports = withBundleAnalyzer( withLess({ - productionBrowserSourceMaps: true, + productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true', trailingSlash: true, reactStrictMode: true, images: {