import * as pdfjs from 'pdfjs-dist/build/pdf'; import Document from './Document'; import Outline from './Outline'; import Page from './Page'; import { displayWorkerWarning } from './shared/utils'; displayWorkerWarning(); pdfjs.GlobalWorkerOptions.workerSrc = 'pdf.worker.js'; export { pdfjs, Document, Outline, Page };