libpdfviewer/viewer/js/worker.js
octocorvus 627a566c2f viewer: use esbuild to bundle pdf viewer and worker
This improves maintainability:
1. no need to hardcode each script file in Android code
2. no need to symlink pdf.js and pdf.worker.js
3. adds sourcemaps in debug builds to help debug some pdf.js related
   issues
2023-09-16 04:20:38 -04:00

2 lines
41 B
JavaScript

import "pdfjs-dist/build/pdf.worker.js";