Track compressed Webpack asset sizes over time.
Switch branches/tags
Nothing to show
Clone or download
Latest commit e9c18df Aug 27, 2018
Permalink
Failed to load latest commit information.
src lint fixes Aug 27, 2018
test Initial release! Aug 24, 2018
.editorconfig Initial release! Aug 24, 2018
.gitignore Initial release! Aug 24, 2018
.travis.yml Add travis ci config (#2) Aug 25, 2018
CONTRIBUTING.md Initial release! Aug 24, 2018
LICENSE Initial release! Aug 24, 2018
README.md Update README.md Aug 25, 2018
package.json 1.0.1 Aug 27, 2018

README.md

size-plugin npm

Prints the gzipped sizes of your webpack assets and the changes since the last build.

size-plugin

Installation

Install size-plugin as a development dependency using npm:

npm i -D size-plugin

Usage

Add an instance of the plugin to your webpack configuration:

// webpack.config.js
+ const SizePlugin = require('size-plugin');

module.exports = {
  plugins: [
+    new SizePlugin()
  ]
}

License

Apache 2.0

This is not an official Google product.