Skip to content
PluginStats

bundle-stats-webpack-plugin weekly downloads statistics

By relative-ci (5 listings) · npm · Webpack plugins

In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)

View on npm Fresh · Oct 17, 2026

bundle-stats-webpack-plugin has 10,988 recorded weekly downloads on npm, a decrease of 73.8% over the past 30 days.

It ranks #886 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -74.8%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
10,988
Official API · Oct 17, 2026
7-day growth
-61.7%
-17.7K weekly downloads
30-day growth
-73.8%
-31K weekly downloads
90-day growth
-74.8%
-32.7K weekly downloads
Rank
#886
Among tracked npm listings

About bundle-stats-webpack-plugin

Demos: Bundle analysis comparison · Bundle analysis

BundleStats webpack plugin

Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, vite, rollup and rolldown.

• Bundle size and totals by file type(css, js, img, etc) • Insights: duplicate packages, new packages • Initial JS/CSS, Cache invalidation, and other bundle metrics • Assets report (entrypoint, initial, types, changed, delta) • Modules report (changed, delta, chunks, duplicate count and percentage) • Packages report (count, duplicate, changed, delta) :star: Side by side comparison for multiple builds

Table of Contents

• Install • Webpack configuration • BundleStatsWebpackPlugin(options) • Use with create-react-app • Compare mode • Other packages • Related projects

Install

or

Webpack configuration

BundleStatsWebpackPlugin(options)

• compare - use local saved baseline for comparison (default true). • baseline - save current webpack stats as baseline (default false). • html - output html report (default true). • json - output json report (default false). • outDir - output directory relative to webpack output.path (default ''). • baselineFilepath - baseline filepath relative to webpack output.path or absolute (default 'node_modules/.cache/bundle-stats/baseline.json') • silent - stop logging info and only log warning and error (default false). • stats - Webpack stats options default:

How to configure webpack for better debugging and monitoring

How to exclude virtual modules

Some plugins use virtual modules as an intermediary step when generating JS modules. For example, vanilla-extract creates a virtual module for every .css.js/css.ts file based on the loader module path and the filename/source as query parameters:

Inlining the encoded source and the filename causes an increase in the size of the output stats and adds unnecessary entries to the stats. To ignore vanilla-extract virtual modules from the stats and from the bundle analysis report, use excludeModules option:

Use with create-react-app

You will need to customize the default webpack config. That can be done by using react-app-rewired which is one of create-react-app's custom config solutions. You will also need customize-cra.

or

Change your default scripts in package.json to:

Create a file config-overrides.js at the same level as package.json.

Compare mode

In compare mode, the metrics are compared against an existing(node_modules/.cache/bundle-stats/baseline.json) Webpack stats file(baseline). To generate the baseline webpack stats, set BUNDLE_STATS_BASELINE environmental variable to true or set BundleStatsWebpackPlugin baseline option to true:

The option can be disabled by setting BundleStatsWebpackPlugin compare option to false.

Other packages

bundle-stats

CLI to generate bundle stats report.

gatsby-plugin-bundle-stats

Gatsby plugin for bundle-stats.

next-plugin-bundle-stats

Next.js plugin for bundle-stats.

rollup-plugin-bundle-stats

Rollup plugin to generate bundle stats report for vite/rolldown/rollup.

Related projects

:cyclone: relative-ci.com

Automated bundle analysis, reviews and monitoring - Quickly identify and fix bundle regressions before shipping to production.

• :crystal_ball: In-depth bundle stats analysis for every build • :chart_with_upwards_trend: Monitor bundle stats changes and identify opportunities for optimizations • :bell: Quick feedback with rule based automated review flow, GitHub Pull Request comments, GitHub check reports, or Slack messages • :wrench: Support for webpack, vite, rspack, rollup, rolldown • :hammer: Support for all major CI services(CircleCI, GitHub Actions, Gitlab CI, Jenkins, Travis CI) • :nut_and_bolt: Support for npm, yarn and pnpm; support for monorepos • :two_hearts: Always free for Open Source

:rocket: Get started

:first_quarter_moon: relative-ci/compare

Standalone web application to compare Webpack/Lighthouse/Browsertime stats.

Compare bundle stats

:zap: bundle-stats-action

Github Action that generates bundle-stats reports.

Description from the npm listing.

  • webpack
  • webpack-plugin
  • bundle-size
  • bundle-analyzer
  • bundle-stats
  • stats
  • bundle
  • size
  • assets
  • chunks
  • modules

Where bundle-stats-webpack-plugin sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 45, #6 (overall #886)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 2, #2 (overall #22)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

bundle-stats-webpack-plugin weekly downloads on npm, last 90 days: 10,988 weekly downloads as of Oct 17, 2026, -74.8% over 90 days.bundle-stats-webpack-pluginWeekly downloads on npm · Last 90 days10,988downloads / week-74.8% over 90 days010K20K30K40K50KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
bundle-stats-webpack-plugin weekly downloads on npm, last 90 days: 10,988 weekly downloads as of Oct 17, 2026, -74.8% over 90 days.
PNG SVG

7/30/90-day growth

bundle-stats-webpack-plugin weekly downloads growth on npm: -61.7% over 7 days, -73.8% over 30 days, -74.8% over 90 days.bundle-stats-webpack-pluginWeekly downloads growth on npm10,988downloads / week now7-day growth-17,685 weekly downloads-61.7%30-day growth-31,028 weekly downloads-73.8%90-day growth-32,683 weekly downloads-74.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
bundle-stats-webpack-plugin weekly downloads growth on npm: -61.7% over 7 days, -73.8% over 30 days, -74.8% over 90 days.
PNG SVG

Ranking history

bundle-stats-webpack-plugin npm ranking history: currently #886 (by weekly downloads).bundle-stats-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#886current rank#883#884#885#886#887#888Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
bundle-stats-webpack-plugin npm ranking history: currently #886 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for bundle-stats-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
10,988-1.4K
12,423+46
12,377-7.1K
19,472-6.6K
26,0580
26,058-2.7K
28,766+93
28,673-207
28,880-425
29,305-792
30,097-105
30,202-7.5K
37,679+268
37,411—

Similar npm Webpack plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/bundle-stats-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.