Skip to content

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Aug 6, 2024

The bundler-plugins still refer to the option as excludePerformanceMonitoring (here), but this is going to be renamed to excludeTracing, so I already used the new naming as discussed with @Lms24 and @mydea.

part of #13013

@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2024

size-limit report 📦

Path Size
@sentry/browser 22.46 KB (0%)
@sentry/browser (incl. Tracing) 34.24 KB (0%)
@sentry/browser (incl. Tracing, Replay) 70.3 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.63 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 74.69 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 87.3 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 89.15 KB (0%)
@sentry/browser (incl. metrics) 26.76 KB (0%)
@sentry/browser (incl. Feedback) 39.4 KB (0%)
@sentry/browser (incl. sendFeedback) 27.08 KB (0%)
@sentry/browser (incl. FeedbackAsync) 31.73 KB (0%)
@sentry/react 25.22 KB (0%)
@sentry/react (incl. Tracing) 37.24 KB (0%)
@sentry/vue 26.61 KB (0%)
@sentry/vue (incl. Tracing) 36.09 KB (0%)
@sentry/svelte 22.59 KB (0%)
CDN Bundle 23.68 KB (0%)
CDN Bundle (incl. Tracing) 35.92 KB (0%)
CDN Bundle (incl. Tracing, Replay) 70.34 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 75.6 KB (0%)
CDN Bundle - uncompressed 69.44 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 106.35 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.2 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.09 KB (0%)
@sentry/nextjs (client) 37.08 KB (0%)
@sentry/sveltekit (client) 34.8 KB (0%)
@sentry/node 114.77 KB (0%)
@sentry/node - without tracing 89.33 KB (-0.01% 🔽)
@sentry/aws-serverless 98.51 KB (+0.01% 🔺)

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 for splitting up the PRs! LGTM!

assets: uploadOptions.assets ?? [getSourcemapsAssetsGlob(config)],
},
bundleSizeOptimizations: {
excludePerformanceMonitoring: options.bundleSizeOptimizations?.excludeTracing || false,
Copy link
Member

Choose a reason for hiding this comment

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

m: What about passing all the bundle size optimizations through (or more specifically, defining all of them)?

Copy link
Member Author

@s1gr1d s1gr1d Aug 6, 2024

Choose a reason for hiding this comment

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

Sounds good to me, @Lms24 what do you think?

Copy link
Member

Choose a reason for hiding this comment

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

sounds good, let's do it!

@s1gr1d s1gr1d requested review from Lms24 and mydea August 6, 2024 11:02
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 for updating! LGTM!

(let's make sure to update the PR title to reflect that we now include all options)

},
debug: options.debug ?? false,
}),
bundleSizeOptimizations: options.bundleSizeOptimizations,
Copy link
Member

Choose a reason for hiding this comment

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

h: sorry almost missed this but the vite plugin doesn't yet support excludeTracing, right?

I think we need to remap this key specifically to excludePerformanceMonitoring

@s1gr1d s1gr1d requested a review from Lms24 August 6, 2024 13:49
@s1gr1d s1gr1d changed the title feat(astro): Add bundleSizeOptimizations.excludeTracing feat(astro): Add bundleSizeOptimizations vite options to integration Aug 6, 2024
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 for adjusting! Now we can :shipit:

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.

4 participants