Weightage of the bundle



We are in the process of developing our PWA site using Ionic. But, when checking the weightage of the cached site, its showing 6 MB (none of the component are loaded, but with the basic tab theme). While checking, we found the JS / CSS which comprises to 3 MB (approx) is getting loaded. Is there any way with which we can download less weight JS/CSS.



How did you build your app?


We are generating the build by giving “ionic serve”.


Try npm run build --prod.