Closed techjpiron closed 1 year ago
Hi,
First of all, a small disclaimer: I'm not a javascript library expert.
Using p-queue with Plasmo (and Parcel) throws this error: ERROR | Failed to resolve 'p-queue' from './App.tsx'
ERROR | Failed to resolve 'p-queue' from './App.tsx'
Adding "main": "./dist/index.js" in the package.json file
"main": "./dist/index.js"
I hope this is useful.
Have a great day!
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Hi,
First of all, a small disclaimer: I'm not a javascript library expert.
Bug
Using p-queue with Plasmo (and Parcel) throws this error:
ERROR | Failed to resolve 'p-queue' from './App.tsx'
Solution
Adding
"main": "./dist/index.js"
in the package.json fileI hope this is useful.
Have a great day!