Prints the gzipped sizes of your rollup assets and the changes since the last build.
🙋 Using Webpack? Check out the original size-plugin.
Install rollup-plugin-size
as a development dependency using npm:
npm i -D rollup-plugin-size
Add the plugin to your rollup configuration:
// rollup.config.js
+ import size from 'rollup-plugin-size';
plugins: [
+ size()
]
This is a port of size-plugin by Jason Miller.