Giedrius FLT said 6 months ago on PDF Reader :
Has anyone tried adopting it with import-maps? 
I get:

Failed to register controller: pdf-reader (controllers/pdf_reader_controller)
TypeError: Module name, 'pdfjs-dist/build/pdf' does not resolve to a valid URL.