Skip to content
GitHub

GuideQuality

Bundles

In the panel: Quality › Bundles/quality/bundlesNeeds analyses:read

Track how much JavaScript and CSS every app and published package ships, set a gzip budget per target, and see which release made it grow.

In the panel · Quality › Bundles
BundlesKind: allBudget: anyMeasure now
41 targets2 over budget3 near budget6 grew since last release · +18.4 kB
Target Release JS gzip Change Budget used
admin-ui · app · acme/admin-ui v3.14.0 212.6 kB +6.2 kB 103%
checkout-web · app v8.2.1 168.0 kB +1.1 kB 93%
@acme/widget-kit · package 5.0.0 31.4 kB −2.0 kB 78%
docs-site · app main 96.2 kB +0.3 kB No budget

Rows go worst first: over budget, failed builds, near budget, then by budget used.

One row per app build or published package, from the newest bundle record of every repository you can read. The page reads stored measurements only; opening it never starts a build.

Column Meaning
Target The app or package, its kind and repository. Opens the repository hub at Quality › Bundles.
Release The package version, or the ref the build was measured on.
JS / CSS Total shipped size after gzip.
Change Bytes and percent against the previous measurement.
Budget used Share of the target’s budget, the state in words and N% of budget.
Largest Initial gzip size of the largest entrypoint.

The toolbar narrows the table: the scope switch (My teams folds other teams’ targets into one row with their over-budget count), Kind (apps or packages) and Budget (over, build failed, near, within, no budget). The search in the header filters by target or repository. Every column sorts, and filters live in the URL, so a link shows the same view.

  1. Open ⋯ › Configure on the page, or Settings › Analyzers › bundle.
  2. Under Budgets, map a target name or a glob to the maximum gzip size in bytes.
  3. Save. The next measurement applies it; Measure now runs one at once.
analyzers.bundle · budgets
{
"checkout-web": 180000,
"admin-*": 205000,
"@acme/*": 40000
}

Click a row, or move with J / K and press ↵. A side sheet opens with the budget as a progress bar, the facts and four tabs.

In the panel · Quality › Bundles › checkout-web
BND-418checkout-web

Near budget

3 of 41Open as page
Repository
acme/checkout-web
Release
v8.2.1 · 2 days ago
Total
168.0 kB gzip · +1.1 kB
Budget
180 kB · 93% used
Largest entry
main · 121.4 kB
CompositionEntrypointsPackagesHistory
Tab What it shows
Composition Initial load per entrypoint, notable changes, and a treemap of what the bundle is made of.
Entrypoints Every entrypoint with its initial and total size.
Packages Which dependencies take the space. A package target shows its archive here.
History Size over every measurement in gzip, brotli or raw; failed builds are gaps. Pick a point to see its report in the other tabs.

Open as page turns the sheet into the full analysis record with a link you can share.

⋯ › Analyze past releases queues the bundle analyzer for older tags, so History has something to compare against. It runs as an ordinary job; follow it in Ops › Runs.