After generating a new ADF 2.6.0 app with Yeoman, when I try to preview a document I get the following error:
'pdfjsLib' is not defined


main.ts contains the following lines:
| main.ts |
|---|
import * as pdfjsLib from 'pdfjs-dist'; pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js'; |
Sticking to 2.5.0 for my app