Which is best for production NPM or Angular way in PDF.js Express Plus

hi Kevin,
i am using PDFJS Express Plus to my existing project. Which one you recommened to go with either npm way npm way or the angular way by downloading the js file folder with Angular approach.
incase if your suggestion is for npm way, then is there any links where in i can go through so i can push same for UAT and production, as my application is already in UAT so, please suggest

Hi @rakshitha_r

Both implementations will work for an Angular project. Using npm will slightly reduce the repo size is the only advantage I can think of.

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.

hi zserviss,
thanks for response, when i am using npm, i need to build that so for production il be having only one folder path, how can the dist folder of pdf.js can be combined for that?

If you follow the npm installation guide, there is only one folder path for the dist.

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.

yes zserviss,
i was able to give fix, thanks