AndersCan
AndersCan
I was the one who originally added the `wildcard: globPattern` feature and never thought it would be so confusing 😅. I fully understand why it was removed though. I have...
Hey @PhoneixS. You are correct. The worker function can have no external dependencies. It is perhaps the largest drawback of creating web-workers this way. At the moment, I think your...
I've read about `importScripts` before, but I've always just assumed it would not work as other libraries did not mention it. I'll experiment with `importScripts` and let you know if...
I've played around with `importScript` now. You can try a new version with `npm install typed-web-workers@next` You can look at: https://github.com/AndersCan/typed-web-workers/blob/next/UPGRADE_GUIDE.md I've added importScript and onError. onError will be called...
I wasn't aware that relative urls would be solved with the blob protocol. Thanks for the info. As the url is passed in its entirety to the `createWorker` function, I'll...