How to reduce production build size.
production build : ng build --prod
angular.json config file:
main.js(4.3mB) has pdf.js(303kB), pdf_viewer.js(100kB) apart from these a seperate pdf.worker.js(739kB) is also present.
cpexcel.js and xlsx.js are taking more space.
i never used jszip present in xlsx
Iam using ng2-pdf-viewer to work with pdf files.
Dev build: ng build
here main.js(1.2mb) does not contain pdf.js(303kB), pdf_viewer.js(100kB). These are included in vendor.js.
But has pdfworker.js of size 1.51mB
Thanks