Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Jun 11, 2024

Will need to wait on: getsentry/sentry-javascript-bundler-plugins#547


Adds an easy way to delete sourcemaps immediately after uploading them:

module.exports = withSentryConfig(nextConfig, {
  sourcemaps: {
    deleteSourcemapsAfterUpload: true,
  },
});

Fixes #8600
Fixes #4489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@sentry/nextjs doesn't respect sourcemaps.filesToDeleteAfterUpload [nextjs] Original source code visible in browser dev tools

2 participants