display brotli and gzip sizes for rollup assets.
Install it using NPM:
npm install --save-dev rollup-plugin-sizeme
or using yarn:
yarn add --dev rollup-plugin-sizeme
then in rollup.config.js
import { sizeme } from 'rollup-plugin-sizeme'
export default {
plugins: [sizeme()],
}
> Asset Size: 462 B 373 B unplug.js
(gzip) (brotli) (filename)
MIT License @ 2020 osdevisnot