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 · Dec 6, 2026

rollup-plugin-bundle-stats has 356,964 recorded weekly downloads on npm, an increase of 24.8% over the past 30 days, ranking #443 of 3,247 tracked listings.

Weekly downloads
356,964
Official API · Dec 5, 2026
7-day growth
+13.0%
+41.2K weekly downloads
30-day growth
+24.8%
+71K weekly downloads
90-day growth
+90.6%
+169.7K weekly downloads
Rank
#443
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: 356,964 weekly downloads as of Dec 5, 2026, +90.6% over 90 days.rollup-plugin-bundle-statsWeekly downloads on npm · Last 90 days356,964downloads / week+90.6% over 90 days0100K200K300K400KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
rollup-plugin-bundle-stats weekly downloads on npm, last 90 days: 356,964 weekly downloads as of Dec 5, 2026, +90.6% over 90 days.

7/30/90-day growth

rollup-plugin-bundle-stats weekly downloads growth on npm: +13.0% over 7 days, +24.8% over 30 days, +90.6% over 90 days.rollup-plugin-bundle-statsWeekly downloads growth on npm356,964downloads / week now7-day growth+41,184 weekly downloads+13.0%30-day growth+70,957 weekly downloads+24.8%90-day growth+169,681 weekly downloads+90.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
rollup-plugin-bundle-stats weekly downloads growth on npm: +13.0% over 7 days, +24.8% over 30 days, +90.6% over 90 days.

Ranking history

rollup-plugin-bundle-stats npm ranking history: currently #443 (by weekly downloads).rollup-plugin-bundle-statsnpm ranking · by weekly downloads · Last 90 days#443current rank#420#440#460#480#500#520Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
rollup-plugin-bundle-stats npm ranking history: currently #443 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 23, #3 (overall #443)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 4, #6 (overall #66)
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 (170)
Recent weekly downloads observations for rollup-plugin-bundle-stats
Date (UTC)Weekly downloadsChange vs. previous
356,964+5.3K
351,691+33.7K
318,002+33.3K
284,686+15.4K
269,272-25.9K
295,137-15.4K
310,492-5.3K
315,780-7.1K
322,905-21.6K
344,458-26.1K
370,526-13.9K
384,442+20.4K
364,081-4.9K
368,964—

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 Dec 6, 2026. See the methodology.