exoego / esbuild-bundle-analyzer

Analyzes each PR's impact on esbuild bundle size
MIT License
15 stars 3 forks source link

refactor: extract utility #81

Closed exoego closed 3 months ago

github-actions[bot] commented 3 months ago

📦 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 128.28 KB ⚠️ +370 B (+0.3%)
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.5%, 18.21 KB | | node_modules/path-scurry/dist | ${{\color{Goldenrod}{ ████▊ }}}$ 19.4%, 17.22 KB | | node_modules/lru-cache/dist | ${{\color{Goldenrod}{ ████▋ }}}$ 18.7%, 16.61 KB | | node_modules/glob/dist | ${{\color{Goldenrod}{ ████▌ }}}$ 18.3%, 16.23 KB | | node_modules/minipass/dist | ${{\color{Goldenrod}{ ██▊ }}}$ 11.0%, 9.79 KB | | src/compare.ts | ${{\color{Goldenrod}{ █▋ }}}$ 6.7%, 5.94 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%, 671 B | | node_modules/balanced-match/index.js | ${{\color{Goldenrod}{ ▏ }}}$ 0.7%, 618 B | | src/utils.ts | ${{\color{Goldenrod}{ }}}$ 0.4%, 357 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.