SolidJSS
SolidJSโ€ข3y agoโ€ข
3 replies
vmg

Difficulties using Pdfjs-dist with SolidStart

I'm trying to use Pdfjs-dist with SolidStart.
It works in developer mode but when I try to create a production build it fails with the error in the build-err.txt file I've attached.

I've also attached the PdfViewer component code and the route I'm loading the PdfViewer into. I'm already using unstable_clientOnly to load in the module.
Was this page helpful?