DEV Community

Discussion on: Analyzing Angular bundle with Source Map Explorer

Collapse
 
stealthmusic profile image
Jan Wedel

Hey Salim, thanks for your article. We are just trying to reduce our bundle size and this helped a lot. I just ran this tool today and we found a couple of things we can remove already!

One thing: We have a box with 13% of the bundle size called "No source". Do you know by chance how to find out what that is?

Collapse
 
salimchemes profile image
Salim Chemes

Hi Jan, glad it helped. I just ran the report in a big project and I don't have any "No Source". Seems to be some source code not able to be classified.
I would try a couple of things
1- remove content under /dist and run ng build --prod again
2- run the report with webpack-bundle-analyzer and see if you got the same (just to compare, you can check this post dev.to/salimchemes/analyzing-angul...)

Collapse
 
stealthmusic profile image
Jan Wedel

I already did 1, this was a clean fresh build. 2 I will try. Thanks for the quick reply.