cds-size-plugin

v1.1.3
Tracks your Webpack asset sizes over time.
webpack plugin file size gzip size bundle size

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.

Metadata

Downloads

Maintainers