Skip to content

chore: Add CodeCov bundle analysis #10682

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

Closed
wants to merge 3 commits into from

Conversation

AbhiPrasad
Copy link
Member

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

@AbhiPrasad AbhiPrasad force-pushed the abhi-codecov-bundle-analysis branch 2 times, most recently from e63ad34 to b45d412 Compare February 15, 2024 22:39
@AbhiPrasad AbhiPrasad force-pushed the abhi-codecov-bundle-analysis branch from b45d412 to 256c892 Compare February 20, 2024 23:55
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.85 KB (-0.07% 🔽)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.11 KB (-0.08% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.04 KB (-0.08% 🔽)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.67 KB (-0.1% 🔽)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.32 KB (-0.08% 🔽)
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.22 KB (-0.08% 🔽)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.15 KB (-0.12% 🔽)
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.15 KB (-0.13% 🔽)
@sentry/browser - Webpack (gzipped) 22.41 KB (-0.1% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.19 KB (-0.09% 🔽)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.69 KB (-0.09% 🔽)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB (-0.07% 🔽)
@sentry/browser - ES6 CDN Bundle (gzipped) 24.76 KB (-0.1% 🔽)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 212.99 KB (-0.09% 🔽)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.71 KB (-0.09% 🔽)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.2 KB (-0.13% 🔽)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.94 KB (-0.07% 🔽)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.41 KB (-0.08% 🔽)
@sentry/react - Webpack (gzipped) 22.45 KB (-0.1% 🔽)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.92 KB (-0.06% 🔽)
@sentry/nextjs Client - Webpack (gzipped) 50.14 KB (-0.05% 🔽)
@sentry-internal/feedback - Webpack (gzipped) 17.16 KB (0%)

@AbhiPrasad AbhiPrasad closed this Feb 21, 2024
@AbhiPrasad AbhiPrasad deleted the abhi-codecov-bundle-analysis branch February 21, 2024 21:10
AbhiPrasad added a commit that referenced this pull request Mar 26, 2024
Given our bundling setup is a little more complicated, this patch adds
codecov bundle analysis for our just our npm builds (ESM and CJS). It
generates the bundle name from the package.json

Previous attempt:
#10682

https://docs.codecov.com/docs/rollup-quick-start

https://app.codecov.io/gh/getsentry/sentry-javascript/bundles
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
Given our bundling setup is a little more complicated, this patch adds
codecov bundle analysis for our just our npm builds (ESM and CJS). It
generates the bundle name from the package.json

Previous attempt:
getsentry#10682

https://docs.codecov.com/docs/rollup-quick-start

https://app.codecov.io/gh/getsentry/sentry-javascript/bundles
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.

1 participant