Skip to content

oscarmarina/rollup-plugin-total-bundlesize

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published