2.2.0 • Published 11 months ago
@blockquote/rollup-plugin-total-bundlesize v2.2.0
rollup-plugin-total-bundlesize
A rollup plugin that showing the total size of the bundle, it complements Vite's summary

Installation
npm install @blockquote/rollup-plugin-total-bundlesizeUsage
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