Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Improve bundle size by extracting these private methods into functions. Validated with integration tests + manual testing for addEventListener.

@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 (21ea870) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 21.19 KB 21.17 KB -0.1% 🔽
@sentry/browser - CDN Bundle (minified) 67.98 KB 67.7 KB -0.41% 🔽
@sentry/browser - Webpack 22.92 KB 22.79 KB -0.54% 🔽
@sentry/browser - Webpack - gzip = false 78.82 KB 78.22 KB -0.76% 🔽
@sentry/react - Webpack 22.95 KB 22.83 KB -0.54% 🔽
@sentry/nextjs Client - Webpack 47.41 KB 47.33 KB -0.18% 🔽
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.4 KB 29.37 KB -0.12% 🔽

@mitsuhiko mitsuhiko merged commit fb87d34 into master Dec 15, 2021
@mitsuhiko mitsuhiko deleted the abhi-trycatch-private branch December 15, 2021 23:54
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