`Webpack 3` didn't provide any information about concatenated modules, but `Webpack 4` started including it into a `stats` files and `webpack-bundle-analyzer 2.11.0` learned to show it.If for some reason you can't update to the latest versions try analyzing your bundle without `ModuleConcatenationPlugin`. Webpack Bundle Analyzer. Visualize size of webpack output files with an interactive zoomable treemap. Install # NPM npm install -save-dev webpack-bundle-analyzer # Yarn yarn add -D webpack-bundle-analyzer. You can analyze an existing bundle if you have a webpack stats JSON file.
![Analyzer Analyzer](/uploads/1/2/5/6/125603842/925524980.png)
I run below command to create stats.json:ng build -prod -stats-jsonAfter this I am executing below code:webpack-bundle-analyzer dist/stats.jsononce I execute it I am receiving below error in my terminal:'webpack-bundle-analyzer' is not recognized as an internal or externalcommand, operable program or batch file.I have installed webpack-bundle-analyzer.In Package.json file it's available'webpack-bundle-analyzer': '^2.11.1'Please help me to resolve.Note: Stats.json is available in dist folder.