size-plugin-plus

Tracks your Webpack asset sizes over time.

Usage no npm install needed!

<script type="module">
  import sizePluginPlus from 'https://cdn.skypack.dev/size-plugin-plus';
</script>

README

size-plugin npm

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

size-plugin

🙋 Using Rollup? Check out the rollup-plugin-size port.

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.