Skip to content
PluginStats

rollup-plugin-bundle-stats weekly downloads statistics

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

Analyze Rollup/Vite/Rolldown bundle stats(bundle size, assets, modules, packages) and compare the results between different builds

View on npm Fresh · Oct 18, 2026

rollup-plugin-bundle-stats has 77,528 recorded weekly downloads on npm, a decrease of 58.4% over the past 30 days, ranking #505 of 2,322 tracked listings.

Weekly downloads
77,528
Official API · Oct 18, 2026
7-day growth
-59.9%
-115.9K weekly downloads
30-day growth
-58.4%
-108.7K weekly downloads
90-day growth
-66.6%
-154.4K weekly downloads
Rank
#505
Among tracked npm listings

About rollup-plugin-bundle-stats

rollup-plugin-bundle-stats

<p align="center"> <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison" target="_blank"><img alt="BundleStats screenshot" src="https://raw.githubusercontent.com/relative-ci/bundle-stats/master/bundle-stats.gif"/></a> </p> <p align="center"> Demos: <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison" target="_blank">Bundle analysis comparison</a> · <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis" target="_blank">Bundle analysis</a> </p> <h1 align="center">BundleStats Rollup/Vite/Rolldown plugin</h1> <p align="center"> Analyze Rollup/Vite/Rolldown bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. </p> <p align="center"> <a href="https://www.npmjs.com/package/rollup-plugin-bundle-stats"><img src="https://img.shields.io/npm/v/rollup-plugin-bundle-stats.svg" /></a> <a href="https://www.npmjs.com/package/rollup-plugin-bundle-stats"><img src="https://img.shields.io/npm/dm/rollup-plugin-bundle-stats.svg" /></a> <img src="https://img.shields.io/node/v/rollup-plugin-bundle-stats.svg" alt="Node version" /> <a href="https://github.com/relative-ci/bundle-stats/actions/workflows/ci.yml"><img alt="GitHub action" src="https://github.com/relative-ci/bundle-stats/actions/workflows/ci.yml/badge.svg" /></a> <a href="https://socket.dev/npm/package/rollup-plugin-bundle-stats/overview"><img alt="Socket" src="https://socket.dev/api/badge/npm/package/rollup-plugin-bundle-stats" /></a> <a href="https://github.com/relative-ci/bundle-stats/actions/workflows/codeql.yml"><img alt="CodeQL" src="https://github.com/relative-ci/bundle-stats/actions/workflows/codeql.yml/badge.svg"/></a> </p> <p align="center"> <a href="https://npmx.dev/package/rollup-plugin-bundle-stats"><img src="https://registry.vite.dev/api/badges?package=rollup-plugin-bundle-stats&tool=vite" alt="Vite compatibility"/></a> <a href="https://npmx.dev/package/rollup-plugin-bundle-stats"><img src="https://registry.vite.dev/api/badges?package=rollup-plugin-bundle-stats&tool=rollup" alt="Rollup compatibility"/></a> <a href="https://npmx.dev/package/rollup-plugin-bundle-stats"><img src="https://registry.vite.dev/api/badges?package=rollup-plugin-bundle-stats&tool=rolldown" alt="Rolldown compatibility"/></a> </p> <p align="center"> <a href="https://app.relative-ci.com/projects/V1bXuieJbYttHCS75L8G"><img src="https://badges.relative-ci.com/badges/V1bXuieJbYttHCS75L8G?branch=master" alt="RelativeCI"></a> </p> <p align="center"> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/"><strong>Bundle size</strong> and <strong>totals by file</strong> type(css, js, img, etc)</a><br /> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/">Insights: <strong>duplicate packages</strong>, <strong>new packages</strong></a><br /> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/"><strong>Initial JS/CSS</strong>, <strong>Cache invalidation</strong>, and other bundle metrics</a><br /> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/assets"><strong>Assets</strong> report (entrypoint, initial, types, changed, delta)</a><br /> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/modules"><strong>Modules</strong> report (changed, delta, chunks, duplicate count and percentage)</a><br /> - <a href="https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/packages"><strong>Packages</strong> report (count, duplicate, changed, delta)</a><br /> :star: <strong>Side by side comparison</strong> for multiple builds </p>

Table of Contents

Install

npm install --dev rollup-plugin-bundle-stats

or

yarn add --dev rollup-plugin-bundle-stats

Configure

Vite
// vite.config.js
const { bundleStats } = require('rollup-plugin-bundle-stats');

module.exports = {
  ...,
  build: {
    rollupOptions: {
      output: {
        assetFileNames: 'assets/[name].[hash][extname]',
        chunkFileNames: 'assets/[name].[hash].js',
        entryFileNames: 'assets/[name].[hash].js',
      },
    },
  },
  plugins: [
    bundleStats()
  ]
};
Rollup
// rollup.config.js
const { bundleStats } = require('rollup-plugin-bundle-stats');

module.exports = {
  ...,
  output: {
    assetFileNames: 'assets/[name].[hash][extname]',
    chunkFileNames: 'assets/[name].[hash].js',
    entryFileNames: 'assets/[name].[hash].js',
  },
  plugins: [
    bundleStats()
  ]
};
Rolldown
// rolldown.config.js
import { defineConfig } from 'rolldown';
import { bundleStats } from 'rollup-plugin-bundle-stats';

export default defineConfig({
  ...,
  output: {
    assetFileNames: 'assets/[name].[hash][extname]',
    chunkFileNames: 'assets/[name].[hash].js',
    entryFileNames: 'assets/[name].[hash].js',
  },
  plugins: [
    bundleStats()
  ]
});

How to configure Vite for better debugging and monitoring

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

Description from the npm listing.

  • rollup
  • rollup-plugin
  • vite
  • vite-plugin
  • rolldown
  • rolldown-plugin
  • bundle-size
  • bundle-analyzer
  • bundle-stats
  • stats
  • bundle
  • size
  • assets
  • chunks
  • modules

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

rollup-plugin-bundle-stats weekly downloads on npm, last 90 days: 77,528 weekly downloads as of Oct 18, 2026, -66.6% over 90 days.rollup-plugin-bundle-statsWeekly downloads on npm · Last 90 days77,528downloads / week-66.6% over 90 days050K100K150K200K250K300KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
rollup-plugin-bundle-stats weekly downloads on npm, last 90 days: 77,528 weekly downloads as of Oct 18, 2026, -66.6% over 90 days.

7/30/90-day growth

rollup-plugin-bundle-stats weekly downloads growth on npm: -59.9% over 7 days, -58.4% over 30 days, -66.6% over 90 days.rollup-plugin-bundle-statsWeekly downloads growth on npm77,528downloads / week now7-day growth-115,852 weekly downloads-59.9%30-day growth-108,682 weekly downloads-58.4%90-day growth-154,420 weekly downloads-66.6%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
rollup-plugin-bundle-stats weekly downloads growth on npm: -59.9% over 7 days, -58.4% over 30 days, -66.6% over 90 days.

Ranking history

rollup-plugin-bundle-stats npm ranking history: currently #505 (by weekly downloads).rollup-plugin-bundle-statsnpm ranking · by weekly downloads · Last 90 days#505current rank#485#490#495#500#505#510Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
rollup-plugin-bundle-stats npm ranking history: currently #505 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 26, #5 (overall #505)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins253 listings · 13 pages · page 4, #13 (overall #73)
Vite plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (122)
Recent weekly downloads observations for rollup-plugin-bundle-stats
Date (UTC)Weekly downloadsChange vs. previous
77,528+5K
72,533-3.9K
76,472+10.3K
66,172-52.6K
118,802-56.4K
175,1580
175,158-18.2K
193,380+914
192,466+600
191,866+3.5K
188,413+10.9K
177,558+10.6K
166,913-48.7K
215,652—

Similar npm Vite plugins plugins

All 20 rollup-plugin-bundle-stats alternatives

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/rollup-plugin-bundle-stats. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.