I can load this PDFJS library in a HTML page simply with
script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/1.10.100/pdf.js"
However, when I try to load it in a Quasar project (VueJS using Webpack), I get the error
The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script Did you mean to build a EcmaScript Module ('output.module: true')?
How can I solve this?