Skip to content
Discussion options

You must be logged in to vote

Hello, tested your repro and as the error shows (sort of) they lack an optional(?) peer dependency on worker-loader@^3

packageExtensions:
  'pdfjs-dist@*':
    peerDependencies:
      worker-loader: '^3'

It is indeed true that "esmodule" is not one of worker-loader's options.

It's one of the options for worker-loader@^3

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jcamden
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jcamden
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants