Is it possible to run a pdfjs express viewer without any server requirements, just with javascript and HTML?

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version

Detailed description of issue
Want to be able to use this viewer without any special server requirements. I just want to use the viewer as a HTML + Javascript library

Expected behaviour
Everything points towards needing node

Does your issue happen with every document, or just one?

Link to document

Code snippet

Hi there,

You should be able to use the viewer without any special server requirements.

In your HTML, you will need access to the node modules. Here you can define a path to the webviewer.min.js file.

<script src="/@pdftron/pdfjs-express/webviewer.min.js" type="module"> </script>

You will also need a way to access the core and ui folders in the lib folder when instantiating the viewer.

    path: 'lib',

Best Regards,
Darian Chen