size-plugin

1.0.1 • Public • Published

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.

install

npm i size-plugin

Downloadsweekly downloads

3,257

version

1.0.1

license

Apache-2.0

last publish

collaborators

  • avatar
Report a vulnerability