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
I am trying to use this library but unfortunately it is looking for the bundle and worker file at the root of the site instead of my custom directory /js/dist/ is there any way of set the path for worker and bundle js files?
The text was updated successfully, but these errors were encountered:
Hey @prionkor!
Not really at this point, I'm afraid. That would only be possible if I manage to create a custom entry file that allows you to pass custom, even more advanced config to PDF.js. If you need it right now, I'd suggest creating a custom entry file on your own based on some that already exist, with setting proper parameters to PDF.js like so. The parameter you're looking for is workerSrc.
I am trying to use this library but unfortunately it is looking for the bundle and worker file at the root of the site instead of my custom directory
/js/dist/
is there any way of set the path for worker and bundle js files?The text was updated successfully, but these errors were encountered: