1.0.2 • Published 4 years ago
gridsome-plugin-webpack-size v1.0.2
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
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.
{
use: 'gridsome-plugin-webpack-size',
options: {
development: true,
writeFile: true
}
}