Skip to content

Conversation

@AbhiPrasad
Copy link
Member

Move field initializers inside constructor to reduce bundle size.

Move field initializers inside constructor to reduce bundle size.
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.39 KB (added)
@sentry/browser - ES5 CDN Bundle (minified) 59.95 KB (added)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.09 KB (added)
@sentry/browser - ES6 CDN Bundle (minified) 53.16 KB (added)
@sentry/browser - Webpack (gzipped + minified) 19.89 KB (added)
@sentry/browser - Webpack (minified) 64.62 KB (added)
@sentry/react - Webpack (gzipped + minified) 19.91 KB (added)
@sentry/nextjs Client - Webpack (gzipped + minified) 44.16 KB (added)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 25.79 KB (added)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 24.15 KB (added)

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.

Nice one, LGTM

@AbhiPrasad AbhiPrasad merged commit 982696f into master Jun 24, 2022
@AbhiPrasad AbhiPrasad deleted the abhi-reduce-scope-bundle-size branch June 24, 2022 18:16
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