DEV Community

Discussion on: Analyzing Angular bundle with Source Map Explorer

Collapse
 
bassemibrahim profile image
Bassem • Edited

Hey Salim, Thanks alot for your article. It helped me alot analyzing our angular project.

however, I see bundles duplicated, is that normal?

I can see 2 major boxes :

  • "main-es5.e5e1f29cd21c7203b5a6.js • 3.62 MB • 43.7%"
  • main-es2015.e5e1f29cd21c7203b5a6.js • 3.38 MB • 40.9%

Both of them contain lots of duplicated bundles like angular material modules.

I feel that shouldn't be the case, what do you think?

Thanks again for your article 💚

Collapse
 
vugar005 profile image
Vugar

As far as I know, duplicated bundles does not increase bundle size. They should be included once if imported in many places.