Compare commits

...

1 Commits

Author SHA1 Message Date
pablodanswer
23b3661cdc remove sourcemaps 2025-01-24 09:32:10 -08:00
2 changed files with 2 additions and 9 deletions

View File

@@ -86,14 +86,7 @@ const sentryWebpackPluginOptions = {
authToken: process.env.SENTRY_AUTH_TOKEN,
silent: !sentryEnabled, // Silence output when Sentry is disabled
dryRun: !sentryEnabled, // Don't upload source maps when Sentry is disabled
sourceMaps: {
include: ["./.next"],
ignore: ["node_modules"],
urlPrefix: "~/_next",
stripPrefix: ["webpack://_N_E/"],
validate: true,
cleanArtifacts: true,
},
sourceMaps: false,
};
// Export the module with conditional Sentry configuration

View File

@@ -5,7 +5,7 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN) {
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
// Capture unhandled exceptions and performance data
enableTracing: true,
enableTracing: false,
integrations: [],
tracesSampleRate: 0.1,
});