Open nguyenvanquan7826 opened 3 years ago
same here
in release ipa, u can try this thread js bundle resolver
For anyone else who runs into this, in dev mode bundler only picks up js files in project root. So just do new Thread("../worker.js")
.
same here
I have my index.thread.js
in the top level of the project (with the package.json
), and just run new Thread('index.thread.js')
I try to create two file worker.thread.js with same content.
I call:
const thread = new Thread('./worker.thread.js');
from processData.js, but it show error Unable to resolve module./worker.thread
.Please help me.