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.
- Host: GitHub
- URL: https://github.com/luwes/rollup-plugin-size
- Owner: luwes
- Created: 2019-02-16T04:40:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T03:39:31.000Z (almost 2 years ago)
- Last Synced: 2025-10-25T12:22:02.286Z (8 months ago)
- Topics: bundle-size, rollup, rollup-plugin
- Language: JavaScript
- Homepage:
- Size: 143 KB
- Stars: 65
- Watchers: 1
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
rollup-plugin-size
Prints the gzipped sizes of your rollup assets and the changes since the last build.
> 🙋 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).