Skip to content

feat(nextjs): Add release injection in Turbopack #15958

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Apr 2, 2025

Ref: #8105

Adds release injection for Turbopack.

Copy link
Contributor

github-actions bot commented Apr 2, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.2 KB - -
@sentry/browser - with treeshaking flags 23.02 KB - -
@sentry/browser (incl. Tracing) 36.8 KB - -
@sentry/browser (incl. Tracing, Replay) 73.95 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.35 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 78.62 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 91.19 KB - -
@sentry/browser (incl. Feedback) 40.33 KB - -
@sentry/browser (incl. sendFeedback) 27.83 KB - -
@sentry/browser (incl. FeedbackAsync) 32.63 KB - -
@sentry/react 25 KB - -
@sentry/react (incl. Tracing) 38.72 KB - -
@sentry/vue 27.41 KB - -
@sentry/vue (incl. Tracing) 38.51 KB - -
@sentry/svelte 23.23 KB - -
CDN Bundle 24.44 KB - -
CDN Bundle (incl. Tracing) 36.82 KB - -
CDN Bundle (incl. Tracing, Replay) 71.83 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 77.03 KB - -
CDN Bundle - uncompressed 71.24 KB - -
CDN Bundle (incl. Tracing) - uncompressed 108.85 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 220.14 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.7 KB - -
@sentry/nextjs (client) 40.03 KB +0.03% +12 B 🔺
@sentry/sveltekit (client) 37.23 KB - -
@sentry/node 142.89 KB - -
@sentry/node - without tracing 96.08 KB - -
@sentry/aws-serverless 120.43 KB - -

View base workflow run

@lforst lforst requested review from Lms24 and AbhiPrasad April 2, 2025 14:27
@lforst
Copy link
Contributor Author

lforst commented Apr 2, 2025

à la longue I should put all of this injection logic into nice utility functions. It's getting a bit messy.

@lforst lforst merged commit 3863c29 into develop Apr 2, 2025
132 of 133 checks passed
@lforst lforst deleted the lforst-turbopack-release-injection branch April 2, 2025 16:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants