luwes / rollup-plugin-size

🍣 Track compressed Rollup asset sizes over time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rollup-plugin-size npm

Prints the gzipped sizes of your rollup assets and the changes since the last build.

rollup-plugin-size

πŸ™‹ Using Webpack? Check out the original size-plugin.

Installation

Install rollup-plugin-size as a development dependency using npm:

npm i -D rollup-plugin-size

Usage

Add the plugin to your rollup configuration:

// rollup.config.js
+ import size from 'rollup-plugin-size';

plugins: [
+   size()
]

License

Apache 2.0

Credits

This is a port of size-plugin by Jason Miller.

About

🍣 Track compressed Rollup asset sizes over time.


Languages

Language:JavaScript 100.0%