Skip to content

Log warning if if source-map generation would change with v9 #14286

Description

Description

As pre-work to #13993, we should go in and log warnings if source map generation behaviour will change when we implement this issue in v9.

Potential log messages:

  • "You disabled sourcemaps in your ... app with the ... option. Currently, the Sentry SDK will override this option to generate sourcemaps. In future versions, the Sentry SDK will not override the ... option if you explicitly disable it. If you want to generate and upload sourcemaps please set the ... option to true or undefined."
  • "The Sentry SDK has enabled source map generation. If you do not want to serve Source Maps to your users either set the deleteSourceMapsAfterUpload option to true, or manually delete the source maps after the build. In future Sentry SDK versions deleteSourceMapsAfterUpload will default to true."

SDKs

Activity

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

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions