@blockquote/rollup-plugin-total-bundlesize
v2.1.2
Published
A rollup plugin to show total bundle size
Downloads
67
Maintainers
Readme
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-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