Skip to content

fengzilong/webpack-why-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 18, 2021
e98403b · Oct 18, 2021

History

20 Commits
Oct 16, 2021
Oct 18, 2021
Oct 18, 2021
Oct 18, 2021
Oct 16, 2021
Oct 16, 2021
Sep 27, 2021
Oct 18, 2021
Oct 18, 2021
Oct 16, 2021

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