Importing anything from pdfjs-dist results in very slow LSP exchanges #18686
Unanswered
angrybacon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I recommend adding You can see I also recommend making |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Let me know if there exists a better place for this kind of issues
node
22pdfjs-dist
4.6.82typescript
5.5.4typescript-language-server
4.3.3I'm building a Next application using the above dependencies. The moment I comment my pdf.js usage
typescript-language-server
becomes usable again. The pdf.js usage is contained in this one file https://github.com/angrybacon/vntlnk/blob/master/modules/PoisonDartFrog/read.tsHow do I get to investigate further and see where exactly TypeScript is struggling? By unusable I mean that some LSP requests are very slow ie. 2-5 seconds and most end up timing out
Beta Was this translation helpful? Give feedback.
All reactions