Skip to content

Commit

Permalink
chore(dashboard): don't hide source maps in production (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
IGassmann committed Feb 27, 2024
1 parent dee89b3 commit 20dfb82
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ui/apps/dashboard/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,7 @@ const nextConfig = {
// Optional build-time configuration for Sentry.
// See https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#extend-nextjs-configuration
sentry: {
// Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
// for client-side builds. (This will be the default starting in
// `@sentry/nextjs` version 8.0.0.) See
// https://webpack.js.org/configuration/devtool/ and
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
// for more information.
hideSourceMaps: true,
hideSourceMaps: false,
// Tunnel sentry events to help circumvent ad-blockers.
tunnelRoute: '/api/sentry',
},
Expand Down

0 comments on commit 20dfb82

Please sign in to comment.