All Projects → btd → Rollup Plugin Visualizer

btd / Rollup Plugin Visualizer

Licence: mit
📈⚖️ Visuallize your bundle

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Rollup Plugin Visualizer

Microbundle
📦 Zero-configuration bundler for tiny modules.
Stars: ✭ 6,622 (+1535.06%)
Mutual labels:  bundle, rollup
Ngx Charts
📊 Declarative Charting Framework for Angular
Stars: ✭ 4,057 (+901.73%)
Mutual labels:  hacktoberfest, chart
Bili
Bili makes it easier to bundle JavaScript libraries.
Stars: ✭ 949 (+134.32%)
Mutual labels:  bundle, rollup
Chart.js
Simple HTML5 Charts using the <canvas> tag
Stars: ✭ 55,646 (+13639.75%)
Mutual labels:  hacktoberfest, chart
rollit
🌯 Zero config js library bundling using rollup with support for Vue
Stars: ✭ 24 (-94.07%)
Mutual labels:  bundle, rollup
Sentry Symfony
The official Symfony SDK for Sentry (sentry.io)
Stars: ✭ 515 (+27.16%)
Mutual labels:  bundle, hacktoberfest
Webpack Bundle Analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Stars: ✭ 11,472 (+2732.59%)
Mutual labels:  bundle, chart
Npmcharts.com
Compare npm package downloads over time
Stars: ✭ 129 (-68.15%)
Mutual labels:  hacktoberfest, chart
Doctrinebundle
Symfony Bundle for Doctrine ORM and DBAL
Stars: ✭ 4,225 (+943.21%)
Mutual labels:  bundle, hacktoberfest
Learn Rollup
This is an example project to accompany a tutorial on using Rollup.
Stars: ✭ 178 (-56.05%)
Mutual labels:  bundle, rollup
Vue Morris
VueJS component wrapping Morris.js
Stars: ✭ 212 (-47.65%)
Mutual labels:  hacktoberfest, chart
Fl chart
A powerful Flutter chart library, currently supporting Line Chart, Bar Chart, Pie Chart, Scatter Chart and Radar Chart.
Stars: ✭ 3,882 (+858.52%)
Mutual labels:  hacktoberfest, chart
V Chart Plugin
Easily bind a chart to the data stored in your Vue.js components.
Stars: ✭ 188 (-53.58%)
Mutual labels:  hacktoberfest, chart
Symfony
The Symfony PHP framework
Stars: ✭ 26,220 (+6374.07%)
Mutual labels:  bundle, hacktoberfest
Vis Graph3d
📊 Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.
Stars: ✭ 129 (-68.15%)
Mutual labels:  hacktoberfest, chart
Pugxautocompleterbundle
Add an autocomplete field to your Symfony forms
Stars: ✭ 83 (-79.51%)
Mutual labels:  bundle, hacktoberfest
Vis Timeline
📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
Stars: ✭ 654 (+61.48%)
Mutual labels:  hacktoberfest, chart
Arcchartview
Arc Chart View (Draw Creative Statistic Arc Charts)
Stars: ✭ 96 (-76.3%)
Mutual labels:  hacktoberfest, chart
Klap
zero config, zero dependency bundler for tiny javascript packages
Stars: ✭ 143 (-64.69%)
Mutual labels:  bundle, rollup
bundle
An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
Stars: ✭ 475 (+17.28%)
Mutual labels:  bundle, rollup

Rollup Plugin Visualizer

NPM Version Travis CI build status

Visualize and analyze your Rollup bundle to see which modules are taking up space.

Screenshots

pic

Installation

npm install --save-dev rollup-plugin-visualizer

or via yarn:

yarn add --dev rollup-plugin-visualizer

Usage

import visualizer from 'rollup-plugin-visualizer';

//...
plugins: [
  visualizer()
],
//...

Options

filename (string, default stats.html) - name of the file with diagram to generate

title (string, default Rollup Visualizer) - title tag value

sourcemap (boolean, default false) - Use sourcemaps to calculate sizes (e.g. after UglifyJs or Terser)

open (boolean, default false) - Open generated file in default user agent

template (string, default treemap) - Which digram type to use: sunburst, treemap, network (very early stage, feedback welcomed)

json (boolean, default false) - Product portable json file that can be used with plugin CLI util to generate graph from several json files. Every UI property ignored in this case.

gzipSize (boolean, default false) - Collect gzip size from source code and display it at chart

brotliSize (boolean, default false) - Collect brolti size from source code and display it at chart. Only if current node version supports it

CLI

This plugin provides cli util rollup-plugin-visualizer. Add --help to check actual options. It can be used like:

rollup-plugin-visualizer [OPTIONS] stat1.json stat2.json ../stat3.json

This can be usefull in case you have different config files in the same project and you want to display all of them in the same chart.

Build plugin

For development if you need to build plugin, just exec:

yarn run build

Disclaimer about generated files

Generated html files do not and never will contain your source code (contents of files). They can contain only js/html/css code required to build chart (plugin code) and statistical information about your source code.

This statistical information can contain:

  • size of files included in bundle
  • size of files included in source map
  • file's path
  • files hierarchy (fs tree for your files)

Upgrades

See CHANGELOG.md.

Acknowledgements

Initially this plugin was based on webpack-visualizer, but in the end used only styles and layout. Thanks to the tons of people around internet for great examples of d3 usage. Also i would like to thank you Mike Bostock for awesome D3, and tons of examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].