And I have also tried to register pdfjs-dist for recompilation, as suggested here, without success.
pdfjs-dist