Skip to content

fengzilong/webpack-why-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-why-package

npm Node.js CI status npm npm

Answer to "Why that package is in the bundle"

screenshot

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

About

Answer to "Why that package is in the bundle"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published