Skip to content

build: Remove @sentry-internal/sdk/no-async-await rule #6797

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 2 commits into from
Jan 16, 2023

Conversation

AbhiPrasad
Copy link
Member

Fixes #6789

Since we are optimizing for es6 bundles, we can remove the @sentry-internal/sdk/no-async-await rule. Using async await will increase bundle size for es5 bundles, but presents us the opportunity to reduce it for es6 bundles.

@AbhiPrasad AbhiPrasad self-assigned this Jan 16, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.82 KB (0%)
@sentry/browser - ES5 CDN Bundle (minified) 61.44 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.49 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 54.74 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.22 KB (0%)
@sentry/browser - Webpack (minified) 66.17 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.24 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.6 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.78 KB (+0.02% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.11 KB (0%)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 43.11 KB (-0.82% 🔽)
@sentry/replay - Webpack (gzipped + minified) 38.45 KB (-0.99% 🔽)

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.

RIP

@AbhiPrasad AbhiPrasad force-pushed the abhi-no-async-await-remove branch from 9316b99 to 8b37bca Compare January 16, 2023 16:04
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) January 16, 2023 16:04
@AbhiPrasad AbhiPrasad force-pushed the abhi-no-async-await-remove branch from fc3877d to e6afe75 Compare January 16, 2023 16:15
@AbhiPrasad AbhiPrasad merged commit e491e60 into master Jan 16, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-no-async-await-remove branch January 16, 2023 16:34
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.

Remove @sentry-internal/sdk/no-async-await rule
3 participants