Skip to content
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

Added bundle analysis to the config template of react project #649

Merged
merged 8 commits into from
Jan 7, 2025

Conversation

hazal-karakus
Copy link
Collaborator

@hazal-karakus hazal-karakus commented Dec 30, 2024

Done


  • Added @codecov/webpack-plugin for Bundle Analysis.
  • Added build step to the codecove.yml file for BA.
    image

Next Step


  • Raise another PR to see BA in a PR comment

Copy link

vercel bot commented Dec 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
empower ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 6, 2025 2:48pm

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.13%. Comparing base (9958a16) to head (48b6dae).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #649   +/-   ##
=======================================
  Coverage   34.13%   34.13%           
=======================================
  Files          37       37           
  Lines         920      920           
  Branches      111      111           
=======================================
  Hits          314      314           
  Misses        589      589           
  Partials       17       17           
Flag Coverage Δ
api 6.59% <ø> (ø)
frontend 54.75% <ø> (ø)
Components Coverage Δ
checkout_module 6.59% <ø> (ø)
product_component 56.41% <ø> (ø)

Copy link
Collaborator

@realkosty realkosty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

.github/workflows/run_codecov_on_pull_request.yml Outdated Show resolved Hide resolved
react/build.sh Outdated Show resolved Hide resolved
react/config-overrides.js.template Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 6, 2025

Bundle Report

Changes will increase total bundle size by 1.42MB (100.0%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
empower-react-app-array-push 1.42MB 1.42MB (100%) ⬆️⚠️

Copy link
Collaborator

@realkosty realkosty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work figuring this all out :)

@hazal-karakus hazal-karakus merged commit 600b231 into master Jan 7, 2025
19 checks passed
@hazal-karakus hazal-karakus deleted the hkarakus/add_bundle_analysis branch January 7, 2025 08:47
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