0.2.3 • Published 3 years ago

webpack-why-package v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

webpack-why-package

npm Node.js CI status npm npm

Answer to "Why that package is in the bundle"

Show the whole issuer chain and tell you why that package is in your bundle

Installation

npm i webpack-why-package

Webpack Plugin

const WebpackWhyPackagePlugin = require( 'webpack-why-package' ).Plugin

// in your webpack config
{
  plugins: [
    new WebpackWhyPackagePlugin()
  ]
}

API

const { analyze, format } = require( 'webpack-why-package' )

console.log( format( analyze( webpackStats ) ) )

License

MIT

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago