An open API service indexing awesome lists of open source software.

https://github.com/luwes/rollup-plugin-size

🍣 Track compressed Rollup asset sizes over time.
https://github.com/luwes/rollup-plugin-size

bundle-size rollup rollup-plugin

Last synced: 3 months ago
JSON representation

🍣 Track compressed Rollup asset sizes over time.

Awesome Lists containing this project

README

          



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](https://github.com/GoogleChromeLabs/size-plugin).

## Installation

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

```sh
npm i -D rollup-plugin-size
```

---

## Usage

Add the plugin to your rollup configuration:

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

plugins: [
+ size()
]
```

---

## License

[Apache 2.0](LICENSE)

## Credits

This is a port of [size-plugin](https://github.com/GoogleChromeLabs/size-plugin) by [Jason Miller](https://github.com/developit).