Answer to "Why that package is in the bundle"
Show the whole issuer chain
and tell you why that package is in your bundle
npm i webpack-why-package
const WebpackWhyPackagePlugin = require( 'webpack-why-package' ).Plugin
// in your webpack config
{
plugins: [
new WebpackWhyPackagePlugin()
]
}
const { analyze, format } = require( 'webpack-why-package' )
console.log( format( analyze( webpackStats ) ) )
MIT