Open felixswang opened 2 months ago
Is there any update regarding this bug?
I have same issue using pdfjs-dist
I solved error by using
import { pdfjs } from "react-pdf"
pdfjs.GlobalWorkerOptions.workerSrc = //cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.js
instead of
import * as pdfjs from 'pdfjs-dist'
Same here. Tried a few different packages pdfjs-dist, pdf-text-reader, couldn't get any of these pdf readers to extract text when using Plasmo.
What's the purpose of _empty file and why is plasmo generating it?
Experiencing the same issue with pdfjs-dist
. On Plasmo v0.86.2
What happened?
Tried in both background index.ts and content scripts, both have the issue.
My code:
When the extension is compiled and loaded in Chrome, Chrome pops an alert saying:
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
(OPTIONAL) Contribution
Code of Conduct