getsentry / getsentry/sentry-javascript

Remove Babel from React component annotation

Ouverte
#24,415 1 commentaire 0 réactions 1 personne assignée Assignée à @timfish Voir sur GitHub
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
523

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.