https://github.com/osdevisnot/rollup-plugin-sizeme
display brotli and gzip sizes for rollup assets.
https://github.com/osdevisnot/rollup-plugin-sizeme
Last synced: 4 months ago
JSON representation
display brotli and gzip sizes for rollup assets.
- Host: GitHub
- URL: https://github.com/osdevisnot/rollup-plugin-sizeme
- Owner: osdevisnot
- License: mit
- Created: 2020-02-19T07:56:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T22:29:23.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T04:17:55.354Z (4 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rollup-plugin-sizeme
display brotli and gzip sizes for rollup assets.
## Usage
Install it using NPM:
```bash
npm install --save-dev rollup-plugin-sizeme
```or using yarn:
```bash
yarn add --dev rollup-plugin-sizeme
```then in `rollup.config.js`
```js
import { sizeme } from 'rollup-plugin-sizeme'export default {
plugins: [sizeme()],
}
```## Output format:
```
> Asset Size: 462 B 373 B unplug.js
(gzip) (brotli) (filename)
```## License
MIT License @ 2020 osdevisnot