Reputation: 3
I use NPM run bulid to package the website, and the console displays chunk JS is 1.04MB in size, but when I open ifinder locally, the file size is 3.8m. Why?
[png1] [1]: https://i.sstatic.net/uOi0R.png ; [png2] [2]: https://i.sstatic.net/olnqL.png
Upvotes: 0
Views: 400
Reputation: 31
Beacuse it was compressed by gzip. Gzip compresses upto 90% of the file size.
Upvotes: 0