getsentry / getsentry/sentry-javascript

(breaking) Change default for `sourcemaps.ignore` to `["node_modules"]`

Aperta
#24,187 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Improvement javascript Meta: Breaking
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

Currently, the CLI applies defaults for the `ignore` value. To align the behavior better, we would move this default decision one level up to the bundler plugins.

How it is currently:

| CLI | Bundler Plugins | Meta-Framework SDK |
|---|---|---|
| adds `'node_modules'` as default | uses CLI in plugin manager (no defaults) | uses bundler plugins (no defaults) |

More context on this in this thread: https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/836#discussion_r2694358688

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.