# robertknight/webpack-bundle-size-analyzer

A tool for finding out what contributes to the size of Webpack bundles

Repository: https://github.com/robertknight/webpack-bundle-size-analyzer
Canonical: https://ross.abutalabs.com/products/webpack-bundle-size-analyzer
Language: TypeScript
License: ISC
License Family: permissive
Topics: webpack, file-size
Last push: 2023-03-02T13:02:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4167, "days_push": 1280, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1389, forks 45 (observed 2026-08-28T04:04:35.491939+00:00)

## What it is
A utility that analyzes Webpack's JSON build output to show a tree of packages contributing to bundle size, ordered by module size. It can be used as a command-line tool or as a Webpack plugin that writes a size report to a file.

## Use cases
- find out which dependencies bloat my webpack bundle
- analyze webpack bundle size by package
- show a tree of npm packages sorted by size in a webpack build
- generate a bundle size report from webpack builds
- identify large modules contributing to javascript bundle size
- reduce webpack bundle size by finding heavy dependencies

## When to choose
- you use Webpack and want a quick per-package size breakdown of your bundle
- you want a simple CLI you can pipe `webpack --json` output into
- you prefer a lightweight analyzer over full visual treemap tools

## When to avoid
- you use a bundler other than Webpack, such as Rollup, Vite, or esbuild
- you want interactive visualizations like treemaps rather than text output
- you need actively developed tooling with support for the latest Webpack versions

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, analytics, build-tool
- domain: developer-tools, frontend, web-development, performance
- platform: cli
- tags: webpack, bundle-analysis, file-size, webpack-plugin, javascript, nodejs

## Member repositories
- robertknight/webpack-bundle-size-analyzer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.491939+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:43.387517+00:00, confidence not recorded.
  - readme: https://github.com/robertknight/webpack-bundle-size-analyzer (fetched 2026-08-28T04:04:35.491939+00:00, sha 3bcca9969592)
  - registry_npm: https://registry.npmjs.org/webpack-bundle-size-analyzer (fetched 2026-08-29T11:55:09.531927+00:00, sha c6caef183887)
- Data as of 2026-08-30T08:39:29.467469+00:00.
