Replies: 3 comments
-
I recommend reporting this bug to turbo pack, since that code that PDF.js uses is perfectly valid and reasonable JavaScript. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Attach (recommended) or Link to PDF file
https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/examples/learning/helloworld.pdf
Web browser and its version
Brave
Operating system and its version
MacOS
PDF.js version
4.6.82
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
it seems that turbo pre-interprets import statements and tries to resolve them. I see that there is a webpack ignore statement, possibly there has to be a similar statement for turbo
What is the expected behavior?
This should work
What went wrong?
compilation error
Link to a viewer
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions