Skip to content

Remove Babel from React component annotation #24415

Description

@chargome

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.

Activity

  1. self-assigned this
    on Sep 16, 2026
  2. linear-code commented on Sep 16, 2026

    @linear-code
  3. added a commit that references this issue on Sep 23, 2026
    852a409
  4. github-actions commented on Sep 28, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #24449, which was included in the 11.1.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions