getsentry / getsentry/sentry-javascript

Remove Babel from React component annotation

Aperta
#24,415 1 commento 0 reazioni 1 assegnatario Assegnata a @timfish Vedi su GitHub
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
523

Descrizione

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.

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.