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

feat: Add collapse_changes option #79

Closed
wants to merge 3 commits into from

Conversation

Eirmas
Copy link

@Eirmas Eirmas commented Aug 6, 2024

Maybe something like this would work?

Closes #76

Copy link

github-actions bot commented Aug 6, 2024

📦 esbuild Bundle Analysis for esbuild-bundle-analyzer

This analysis was generated by esbuild-bundle-analyzer. 🤖

Meta File Out File Size (raw) Note
tmp/meta.json dist/index.mjs 125.70 KB ⚠️ +3.51 KB (+2.9%)
Largest paths These visualization shows top 20 largest paths in the bundle.

Meta file: tmp/meta.json, Out file: dist/index.mjs

Path Size
node_modules/minimatch/dist ${{\color{Goldenrod}{ █████▏ }}}$ 20.6%, 18.21 KB
node_modules/path-scurry/dist ${{\color{Goldenrod}{ ████▉ }}}$ 19.5%, 17.23 KB
node_modules/lru-cache/dist ${{\color{Goldenrod}{ ████▋ }}}$ 18.8%, 16.61 KB
node_modules/glob/dist ${{\color{Goldenrod}{ ████▌ }}}$ 18.4%, 16.23 KB
node_modules/minipass/dist ${{\color{Goldenrod}{ ██▊ }}}$ 11.1%, 9.79 KB
src/compare.ts ${{\color{Goldenrod}{ █▌ }}}$ 6.4%, 5.65 KB
node_modules/brace-expansion/index.js ${{\color{Goldenrod}{ ▌ }}}$ 2.4%, 2.11 KB
src/report.ts ${{\color{Goldenrod}{ ▎ }}}$ 1.1%, 994 B
src/index.ts ${{\color{Goldenrod}{ ▏ }}}$ 0.8%, 727 B
node_modules/balanced-match/index.js ${{\color{Goldenrod}{ ▏ }}}$ 0.7%, 618 B
src/utils.ts ${{\color{Goldenrod}{ }}}$ 0.3%, 224 B
Details

Next to the size is how much the size has increased or decreased compared with the base branch of this PR.

  • ‼️: Size increased by 20% or more. Special attention should be given to this.
  • ⚠️: Size increased in acceptable range (lower than 20%).
  • ✅: No change or even downsized.
  • 🗑️: The out file is deleted: not found in base branch.
  • 🆕: The out file is newly found: will be added to base branch.

@exoego exoego added the enhancement New feature or request label Aug 6, 2024
@exoego
Copy link
Owner

exoego commented Aug 14, 2024

Thanks for working on this PR.
It is superseded by #82
If you find the solution does not suit your use, feel free to open a new issue.

@exoego exoego closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature-request: Collapsable stats
2 participants