Skip to content

ref(browser): Extract private methods from Dedupe integration #4294

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2021

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.

Move out private methods into their own functions as they do not need
access to class properties. This helps save on bundle size.
@github-actions
Copy link
Contributor

size-limit report

Path Base Size (f32cd36) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 21.39 KB 21.38 KB -0.02% 🔽
@sentry/browser - CDN Bundle (minified) 69.89 KB 69.77 KB -0.19% 🔽
@sentry/browser - Webpack 23.15 KB 23.08 KB -0.32% 🔽
@sentry/browser - Webpack - gzip = false 81.05 KB 80.72 KB -0.42% 🔽
@sentry/react - Webpack 23.19 KB 23.12 KB -0.32% 🔽
@sentry/nextjs Client - Webpack 47.77 KB 47.73 KB -0.09% 🔽
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.69 KB 29.69 KB -0.01% 🔽

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

@AbhiPrasad i accidentally merged this and had to back it out again.

@AbhiPrasad AbhiPrasad restored the abhi-dedupe-private branch December 15, 2021 13:55
@AbhiPrasad
Copy link
Member Author

Opened #4302 and made it WIP while I fix tests

onurtemizkan pushed a commit that referenced this pull request Dec 19, 2021
Move out private methods into their own functions as they do not need
access to class properties. This helps save on bundle size.
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.

2 participants