Replies: 1 comment 11 replies
-
That's weird. The entire showcase - containing both the Create a new project using ng new and ng add ngx-extended-pdf-viewer, as described here: https://pdfviewer.net/extended-pdf-viewer/getting-started. Getting it up and running should be a matter of less than five minutes. After confirming your greenfield project works, compare the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, thank you for this project, I think it's great. I recently went ahead and migrated a project I work on to using this (btw, ng2-pdf-viewer has seen such limited updates recently, you may want to remove it from your docs...) and had a pretty easy time doing that, again, the project works great.
However, when it came time to test this out my builds were taking way longer and ballooned in size from ~100mb to 800mb. After investigating a bit I've discovered that the
assets
dir and all of its contents are being copied dozens of times into the respective localized folders my project builds, in other words I end up with:I cant say that I have a very deep understanding of the angular build config, so my question is whether this a) is expected, and b) can be avoided? I took a look at #852 and will implement that but should I still be getting these files repeated under each locale?
Thanks again for any guidance
Beta Was this translation helpful? Give feedback.
All reactions