A rollup plugin that showing the total size of the bundle, it complements Vite's summary
npm install @blockquote/rollup-plugin-total-bundlesize
import totalBundlesize from '@blockquote/rollup-plugin-total-bundlesize'
export default {
entry: 'index.js',
plugins: [
totalBundlesize()
]
}
Type:
object boxen options?
import totalBundlesize from 'rollup-plugin-total-bundlesize'
export default {
entry: 'index.js',
plugins: [
totalBundlesize({title: 'magical', titleAlignment: 'center'})
]
}
MIT