# Rollup Plugin Visualizer

[BASE product page](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/>) · [Resource](<https://github.com/btd/rollup-plugin-visualizer>)

ID: rollup\-plugin\-visualizer · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Creates a module report for Rollup and Vite builds: helps check dependency sizes and the effect of tree shaking\.

## Type

Build / code quality tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-tasks>)

- Assess the contents of a Rollup or Vite bundle
- Compare modules and dependency sizes before/after optimization

## Category IDs

- infrastructure
- quality

## Subcategory IDs

- infrastructure\.developer
- quality\.review

## Tags

- Rollup Plugin Visualizer
- build
- Development

## Also known as

- btd/rollup\-plugin\-visualizer
- rollup\-plugin\-visualizer
- rollup\-visualizer
- bundle\-visualization

## [Selection purpose](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-selection>)

Assess the contents of a Rollup or Vite bundle

## [Choose this when](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-selection>)

- Assess the contents of a Rollup or Vite bundle
- Compare modules and dependency sizes before/after optimization

## [Requirements](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-selection>)

- The README requires Node\.js 22\+; place visualizer last in the Rollup/Vite plugin chain\.

## [Limitations](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Gzip and Brotli sizes are not calculated by default: enable gzipSize/brotliSize\. A report of bundle contents does not measure page responsiveness\.

## [Questions before use](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-faq>)

### What can you use for free in Rollup Plugin Visualizer?

Code and local use under MIT\.

### What additional costs might arise with Rollup Plugin Visualizer?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Rollup Plugin Visualizer?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Rollup Plugin Visualizer?

Connect the visualization report to the production build\. Compare modules and dependency sizes before/after optimization\. Add the workflow to scripts or CI with a clear report\.

### How can I find out why a dependency is included in the bundle?

The network view shows import relationships, while the treemap helps identify large and duplicated modules\. To calculate sizes after minification, enable sourcemap and keep the plugin last\.

### How can I compare multiple builds?

Raw\-data produces JSON for the CLI, which merges multiple stats files\. List produces YAML for tracking changes in Git; gzipSize and brotliSize are enabled separately\.

## Sources for the selection guide

- [https://github\.com/btd/rollup\-plugin\-visualizer](<https://github.com/btd/rollup-plugin-visualizer>)
- [https://raw\.githubusercontent\.com/btd/rollup\-plugin\-visualizer/HEAD/README\.md](<https://raw.githubusercontent.com/btd/rollup-plugin-visualizer/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/btd/rollup\-plugin\-visualizer/HEAD/LICENSE](<https://raw.githubusercontent.com/btd/rollup-plugin-visualizer/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-scenario>)

Assess the contents of a Rollup or Vite bundle\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A repository, package manifests, and configuration\.
- A compatible runtime and the target build command\.

## Steps

1. Connect the visualization report to the production build\.
2. Compare modules and dependency sizes before/after optimization\.
3. Add the workflow to scripts or CI with a clear report\.

## Check your result

- A clean copy of the project reproduces the result\.
- Errors produce a nonzero exit code and clear diagnostics\.

## [License](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/rollup-plugin-visualizer/#resource-sources>)

- [Official source](<https://github.com/btd/rollup-plugin-visualizer>)
- [Official source](<https://raw.githubusercontent.com/btd/rollup-plugin-visualizer/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/btd/rollup-plugin-visualizer/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
