Lex Kuncevicon Stack Overflow • Recommends
On “Angular CLI output - how to analyze bundle files”
…}
}
UPDATE 2020 (v16 and below) :
The Angular team strongly recommends to only use source-map-explorer to analyze your bundle size instead of webpack-bundle-analyzer . According to them, webpack-bundle-analyzer and a few other similar tools doesn't give the actual info pertaining to Angular build process.
More info can be fount at web.dev - link to this video
To install source-map-explorer globally:-
npm i -g source-map-explorer
or
yarn glob……