Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Oct 17, 2023

This PR fixes a Sentry.init code generation bug that always added BrowserTracing and Replay to the client init code, even if sample rates were specifically set to 0. This prohibited tree shaking of these integrations if users disabled them by setting the respective sample rates.

@Lms24 Lms24 requested review from lforst and mydea October 17, 2023 16:08
@Lms24 Lms24 changed the title fix(astro): Make Replay and Browsertracing integrations tree-shakeable fix(astro): Make Replay and BrowserTracing integrations tree-shakeable Oct 17, 2023
@Lms24 Lms24 enabled auto-merge (squash) October 17, 2023 16:10
@Lms24 Lms24 merged commit 441f702 into develop Oct 17, 2023
@Lms24 Lms24 deleted the lms/fix-astro-treeshake-integrations branch October 17, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants