Webpack bundle analyzer shows different chunk size form Chrome Netwrok tab

408 Views Asked by At

I'm trying to figure out next thing: When I run webpack-bundle-analyzer locally for the prod build it shows one size (7.65MB) in gzipped mode for one of the assets:

webpack-bundel-analyzer-output

But when I ran the production build and check Chrome's Network tab I see different size it downloads for the same chunk, also gziped (9.6MB):

Network-panel-size

network-details

I wonder where this difference comes from. The only idea that comes to my mind, is that webpack-bundle-analyzer has different compressing logic for gzip from ngnix but not sure that's the case.

I would appreciate any ideas on this matter, thanks!

0

There are 0 best solutions below