Parcel 2 compatibility
- 主要語言
- TypeScript
- 星號
- 3.5k
- 分支
- 173
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I've been scratching my head about how to build compatible workers, and this library is the most promising so far! Unfortunately, I use Parcel 2, and the basic demo runs into an error. 😢
auth.bd78dd40.js:1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The URL './index.d6afe8b1.js' is invalid.
at http://localhost:1234/auth.bd78dd40.js:1:1
at blob:http://localhost:1234/13b36260-4ae6-4c43-845c-0dfccc529f9c:1:1
I thought I found a reference suggesting that you can't use this kind of relative path from a blob, but Parcel 2 can definitely handle workers in general (e.g. libraries like `comlink` work with `parcel server`). However, I can't seem to find that again.
I'd really like to use `threads.js`, but this is a big blocker for our use case. Any thoughts on where best to attempt to address this?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。