Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sveltekit): Always add browserTracingIntegration #13322

Merged
merged 5 commits into from
Aug 13, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Aug 12, 2024

closes #13011

ref: #13318

@s1gr1d s1gr1d changed the title Sig/sveltekit browsertracing feat(sveltekit): Always add browserTracingIntegration Aug 12, 2024
@s1gr1d s1gr1d requested review from Lms24, a team and nicohrubec and removed request for a team August 12, 2024 13:55
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines 48 to 50
} else {
return getDefaultSvelteIntegrations(options);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l: we don't need to throw the last return statement into an else block but we can just return directly. Not a problem but it shaves off a couple of bytes and reduces blocks :)

Copy link
Contributor

github-actions bot commented Aug 12, 2024

size-limit report 📦

Path Size
@sentry/browser 22.5 KB (0%)
@sentry/browser (incl. Tracing) 34.29 KB (0%)
@sentry/browser (incl. Tracing, Replay) 70.35 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.68 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 74.75 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 87.36 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 89.2 KB (0%)
@sentry/browser (incl. metrics) 26.81 KB (0%)
@sentry/browser (incl. Feedback) 39.46 KB (0%)
@sentry/browser (incl. sendFeedback) 27.13 KB (0%)
@sentry/browser (incl. FeedbackAsync) 31.79 KB (0%)
@sentry/react 25.26 KB (0%)
@sentry/react (incl. Tracing) 37.28 KB (0%)
@sentry/vue 26.65 KB (0%)
@sentry/vue (incl. Tracing) 36.13 KB (0%)
@sentry/svelte 22.63 KB (0%)
CDN Bundle 23.73 KB (0%)
CDN Bundle (incl. Tracing) 35.96 KB (0%)
CDN Bundle (incl. Tracing, Replay) 70.41 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 75.65 KB (0%)
CDN Bundle - uncompressed 69.58 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 106.52 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.36 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.25 KB (0%)
@sentry/nextjs (client) 37.14 KB (0%)
@sentry/sveltekit (client) 34.88 KB (+0.1% 🔺)
@sentry/node 115.57 KB (0%)
@sentry/node - without tracing 89.95 KB (0%)
@sentry/aws-serverless 99.38 KB (0%)

@s1gr1d s1gr1d merged commit 0e7c492 into develop Aug 13, 2024
97 checks passed
@s1gr1d s1gr1d deleted the sig/sveltekit-browsertracing branch August 13, 2024 08:21
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.

Always add browserTracingIntegration in SvelteKit SDK
2 participants