getsentry / getsentry/sentry-javascript
Remove Babel from React component annotation
未关闭
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 1.8k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 523
描述
The standalone `@sentry/babel-plugin-component-annotate` package is already removed, but its implementation is inlined in `@sentry/bundler-plugins`, keeping `@babel/core` as a runtime dependency.
* Babel remains the annotation backend for Webpack, Vite 7, Vite 8 parser/fallback cases, and the Next.js Turbopack loader.
* Vite 8 has a faster non-Babel transform, but it intentionally falls back to Babel when parsing is unavailable or fails.
* The remaining blocker is parser/transform parity across those paths before the Babel backend, subpath export, and dependency can be removed.
Reported by Dominik Dorfmeister.
Action taken on behalf of Charly Gomez.
贡献指南
评估
这个 Issue 还没有评估数据。