-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Description
Describe the problem that you experienced
For a long time, developers have been using webpack-bundle-analyzer to analyze Angular app bundle sizes. Then, at some point (Angular 9?) it came to be that webpack-bundle-analyzer was strongly discouraged by the Angular team, but other than the video below, I cannot find any official Angular documentation about it.
https://www.youtube.com/watch?v=B-lipaiZII8&t=215s
Enter the URL of the topic with the problem
https://angular.io/guide/deployment#inspect-the-bundles
Describe what you were looking for in the documentation
I am looking into a clear explanation on why webpack-bundle-analyzer is strongly discouraged, in favor of source-map-explorer.
Describe the actions that led you to experience the problem
I'm working with a custom framework which still uses webpack-bundle-analyzer in Angular versions 14-15.
On top of that, there are plenty of articles still online on how to use webpack-bundle-analyzer with Angular apps. This causes confusion (assuming there are serious reasons why we shouldn't be using it).
Describe what you want to experience that would fix the problem
The link in the documentation mentioned above should clearly state that webpack-bundle-analyzer is not recommended, and state the reasons why.
Add a screenshot if that helps illustrate the problem
No response
If this problem caused an exception or error, please paste it here
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
No response