https://github.com/travis-r6s/gridsome-plugin-webpack-size
Logs your production bundle sizes in a CI friendly way
https://github.com/travis-r6s/gridsome-plugin-webpack-size
Last synced: 5 months ago
JSON representation
Logs your production bundle sizes in a CI friendly way
- Host: GitHub
- URL: https://github.com/travis-r6s/gridsome-plugin-webpack-size
- Owner: travis-r6s
- Created: 2019-11-14T14:12:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T06:59:49.000Z (about 2 years ago)
- Last Synced: 2025-02-18T10:17:30.484Z (5 months ago)
- Language: JavaScript
- Size: 170 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gridsome-plugin-webpack-size
Logs your production bundle sizes in a CI friendly way.

## Installation
`yarn add gridsome-plugin-webpack-size`
## Usage
`gridsome.config.js`
```js
module.exports = {
plugins: [
'gridsome-plugin-webpack-size'
]
}
```## Configuration
You can specify whether webpack-size should run in development mode too, and if it should create a size report JSON file.
```js
{
use: 'gridsome-plugin-webpack-size',
options: {
development: true,
writeFile: true
}
}
```