If viewer is used with { "glob": "**/*", "input": "node_modules/ng2-pdfjs-viewer/pdfjs", "output": "/assets/pdfjs" }, after ng build --prod folder pdfjs is about one third of the whole bundle size. In my case it's 11,3 MB in 31,6 MB bundle. Is there any solution to decrease it?
If viewer is used with
{ "glob": "**/*", "input": "node_modules/ng2-pdfjs-viewer/pdfjs", "output": "/assets/pdfjs" }
, afterng build --prod
folderpdfjs
is about one third of the whole bundle size. In my case it's11,3 MB
in31,6 MB
bundle. Is there any solution to decrease it?