evanw / evanw/esbuild

Showing gzip sizes in the bundle analyzer

Open
#3,237 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I've kinda replaced bundlephobia with esbuild's bundle analyzer personally, but one thing I miss from bundlephobia is seeing the min+gzip size, which doesn't seem available in esbuild's bundle analyzer.

I'm thinking the gzip size for each file can be listed fairly naturally in the modal that is opened on click.

For the entire bundle it seems trickier UI-wise, maybe there could be a button that toggles between min and min+gzip sizes, both in the header, in tooltips, and in the size used to render the chart itself.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at esbuild's bundle analyzer and trace how the clicked-file modal, bundle header, tooltips, and chart size are produced. The work is done when min+gzip sizes are available for individual files and the entire bundle, with the proposed display or toggle behavior covered consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.