Posted 17 August 2021, 3:40 am ESTWe'd like to load GcPdfViewer from the jsdeliver CDN (https://cdn.jsdelivr.net/npm/@grapecity/gcpdfviewer/gcpdfviewer.min.js) because we can't use NPM and want to always get the latest version.
However, it doesn't seem like we can load the worker from the CDN (https://cdn.jsdelivr.net/npm/@grapecity/gcpdfviewer/gcpdfviewer.worker.js)
So two questions:
1) Is the worker even needed? In your PureJS example it is not used (https://www.grapecity.com/documents-api-pdfviewer/demos/view-pdf/purejs)
However, we are using Typescript and it's not working without the worker. Is it required for working with the viewer with TypeScript?
2) If the worker is required, can we load it from the CDN like the main viewer script? Again, we can't use NPM and don't want to manage JS dependencies locally.