Bundle Size Analyzer
Inspect esbuild metafile contributions, import paths, directory treemaps and explicit output comparisons offline.
What can this tool do?
Read-only esbuild metafiles: 16 MiB each, 20,000 inputs, 2,000 outputs, 100,000 import edges and 100,000 contributions; JSON depth 64, paths 2,048 bytes, byte counts and sums at most 2^53-1.
Before you begin
Install through the in-app tool market. Plugins update independently; review their permissions before installing.
Usage and limits
- Read-only esbuild metafiles: 16 MiB each, 20,000 inputs, 2,000 outputs, 100,000 import edges and 100,000 contributions; JSON depth 64, paths 2,048 bytes, byte counts and sums at most 2^53-1.
- Contributions use bytesInOutput, separately from source bytes. Positive output-minus-contribution differences remain unattributed. Over-attribution gets diagnostics and a chart scaled by the contribution sum.
- Click directories to drill down and modules to inspect one verified input path and original imports. Only exact metadata references are followed; externals stay external. No source reads, builds or network access.
- Treemaps have at most 256 tiles, grouping the remainder as Other. All modules remain available through backend pagination. Directory depth is 24; import traces are limited to 64 levels. No module gzip/Brotli estimates or unsupported tree-shaking claims.
- Two reports match exact paths automatically; other paths remain added/removed until manually paired. Hashed outputs are never matched by approximate filenames. Output byte deltas and module contribution deltas are separate.
- Reports live only in the current plugin instance. No database is created. CSV/JSON/Markdown follow the current directory, search or comparison scope. Copy limit 64 KiB; export limit 64 MiB. Tasks can be cancelled; failed/cancelled loads retain the prior cache.
Need installation help?
Know what a tool can access.
These capabilities come from the tool manifest. Host authorization and the current operation still determine actual access.
This tool is marked sensitive: task arguments are not saved for reruns. Handle results and exported files with care.
Command line & AI agents
This tool currently declares no CLI or AI Agent interface. In-app availability does not imply external access.
Version history
- v0.1.0Current
- Newadd metafile analysisd87a12e
Change notes keep the original commit wording.