Skip to content

Commit

Permalink
hidden sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
heatlikeheatwave committed Jul 25, 2024
1 parent 5d3c7ed commit fd309de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -108,4 +108,5 @@ module.exports = withHashicorp({
largePageDataBytes: 512 * 1000, // 512KB
instrumentationHook: true,
},
productionBrowserSourceMaps: false,
})

0 comments on commit fd309de

Please sign in to comment.