1234567891011121314151617181920212223242526 |
- "use strict";
- const pdfjs = require("./build/pdf.js");
- if (typeof window !== "undefined" && "Worker" in window) {
- pdfjs.GlobalWorkerOptions.workerPort = new Worker(
- new URL("./build/pdf.worker.js", import.meta.url)
- );
- }
- module.exports = pdfjs;
|