What version of Next.js are you using?
10.1.3
What version of Node.js are you using?
14.x
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
p-queue recently updated to using ESM modules, and it looks like some webpack configuration is required to support it. I doubt this is the last time this particular issue will come up.
Expected Behavior
Users should be able to require ESM modules without getting an error.
To Reproduce
Install p-queue@7.0.0, import it, and try to start next.
Thanks!