Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Move out private methods into their own functions as they do not need
access to class properties. This helps save on bundle size.

@AbhiPrasad AbhiPrasad added this to the Treeshaking / Bundle Size milestone Dec 15, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2021

size-limit report

Path Base Size (a60d7a5) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 21.23 KB 21.21 KB -0.08% 🔽
@sentry/browser - CDN Bundle (minified) 69.05 KB 68.58 KB -0.69% 🔽
@sentry/browser - Webpack 22.96 KB 22.92 KB -0.18% 🔽
@sentry/browser - Webpack - gzip = false 80.15 KB 79.49 KB -0.84% 🔽
@sentry/react - Webpack 22.99 KB 22.95 KB -0.18% 🔽
@sentry/nextjs Client - Webpack 47.46 KB 47.43 KB -0.08% 🔽
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.41 KB 29.41 KB -0.02% 🔽

@mitsuhiko mitsuhiko merged commit 1397a0a into master Dec 15, 2021
@mitsuhiko mitsuhiko deleted the abhi-breadcrumbs-private branch December 15, 2021 12:26
onurtemizkan pushed a commit that referenced this pull request Dec 19, 2021
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