@blockquote/rollup-plugin-total-bundlesize
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

rollup-plugin-total-bundlesize

A rollup plugin that showing the total size of the bundle, it complements Vite's summary


reporter example



Installation

npm install @blockquote/rollup-plugin-total-bundlesize

Usage

import totalBundlesize from '@blockquote/rollup-plugin-total-bundlesize'

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

options

totalBundlesize( options?)

Type: object boxen options?

import totalBundlesize from 'rollup-plugin-total-bundlesize'

export default {
    entry: 'index.js',
    plugins: [
        totalBundlesize({title: 'magical', titleAlignment: 'center'})
    ]
}

License

MIT

Package Sidebar

Install

npm i @blockquote/rollup-plugin-total-bundlesize

Weekly Downloads

29

Version

2.1.2

License

MIT

Unpacked Size

19.3 kB

Total Files

10

Last publish

Collaborators

  • oscarmarina