Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T06:59:49.000Z (over 1 year ago)
- Last Synced: 2024-12-15T00:49:38.824Z (about 1 month 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.
![Screenshot showing the output of this plugin](https://github.com/thetre97/gridsome-plugin-webpack-size/raw/master/gridsome-plugin-webpack-size.png)
## 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
}
}
```