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

chore: add bundle size metrics #3999

Merged
merged 5 commits into from
Jul 27, 2020
Merged

chore: add bundle size metrics #3999

merged 5 commits into from
Jul 27, 2020

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Jul 27, 2020

This PR adds bundle size metrics using andresz1/size-limit-action.


Measurements are based on Webpack builds using basic config Webpack and Terser config. It allows to understand the impact of importing a single component and track it in PRs.

Fixtures for following components were added:

  • Button
  • Icon
  • Image
  • Portal

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2020

Codecov Report

Merging #3999 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3999   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files         184      184           
  Lines        3164     3164           
=======================================
  Hits         3159     3159           
  Misses          5        5           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ac8009...c716bb4. Read the comment docs.

@vercel vercel bot temporarily deployed to Preview July 27, 2020 19:05 Inactive
@layershifter layershifter merged commit 6a4ecc8 into master Jul 27, 2020
@delete-merged-branch delete-merged-branch bot deleted the chore/bundle-size branch July 27, 2020 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants