rollup-plugin-bundle-size
Output the size of your bundle
Last updated 7 years ago by luwes .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rollup-plugin-bundle-size 
SYNC missed versions from official npm registry.

rollup-plugin-bundle-size npm

A rollup plugin to show the size of the generated bundle(s).

Installation

npm install --save-dev rollup-plugin-bundle-size

Usage

JS API

const rollup = require('rollup');
const bundleSize = require('rollup-plugin-bundle-size');

rollup.rollup({
    entry: 'src/index.js',
    plugins: [
        bundleSize()
    ]
}).then((bundle) => {
    ...
});

Config File

import bundleSize from 'rollup-plugin-bundle-size';

export default {
    entry: 'src/index.js',
    plugins: [
        bundleSize()
    ]
}

Current Tags

  • 1.0.3                                ...           latest (7 years ago)

4 Versions

  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 3
Last Month 4
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |