getsentry / getsentry/sentry-javascript

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

未关闭
#24,187 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Improvement javascript Meta: Breaking
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。