You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I'm using lazy loading with AOT. The compiled chunk of code that contains ng2-pdf-viewer is about 1.8MB, and if I take out the library it's only around 200kb. Is there a way to reduce the size of the compiled code? I do notice inside pdfjs-dist, there is a pdf.combined.js(1.6MB) and a pdf.min.js(219kb). How are they different? Can the use of pdf.min.js reduce the compiled size of this library? Any help will be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I've got this error on my project when using the current version, seems related to the min version of pdf.js Uncaught ReferenceError: Invalid left-hand side in assignment
In my project I'm using lazy loading with AOT. The compiled chunk of code that contains ng2-pdf-viewer is about 1.8MB, and if I take out the library it's only around 200kb. Is there a way to reduce the size of the compiled code? I do notice inside pdfjs-dist, there is a pdf.combined.js(1.6MB) and a pdf.min.js(219kb). How are they different? Can the use of pdf.min.js reduce the compiled size of this library? Any help will be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: