Skip to content

Meta Framework SDKs should expose easy tree-shaking options #11531

@Lms24

Description

@Lms24

Problem Statement

Our bundler plugins support tree-shaking (unfortunately currently undocumented, tracked in getsentry/sentry-javascript-bundler-plugins#518).

Solution Brainstorm

We should expose these options as well in our meta framework SDK's high-level Vite plugin options. If reasonable && possible we can also set options by default (e.g. debug logging).

- [x] https://github.com/getsentry/sentry-javascript/pull/13323
- [x] https://github.com/getsentry/sentry-javascript/pull/13318
- [x] Remix - NOT DOING: We do not actually add a plugin there
- [x] https://github.com/getsentry/sentry-javascript/pull/13250

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions