gridsome-plugin-webpack-size

1.0.2 • Public • Published

gridsome-plugin-webpack-size

Logs your production bundle sizes in a CI friendly way.

Screenshot showing the output of this plugin

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
  }
}

Package Sidebar

Install

npm i gridsome-plugin-webpack-size

Weekly Downloads

132

Version

1.0.2

License

MIT

Unpacked Size

172 kB

Total Files

5

Last publish

Collaborators

  • travisreynolds