-
-
Notifications
You must be signed in to change notification settings - Fork 273
Add a worker implementation based on fetch #225
Comments
Or this can be implemented via |
#255, you can set credentials vie options |
It seems |
I can't understand the problem
What?
It is out of scope web worker supporting |
When To address this, document suggests There is a way to get rid of the CORS issue and having worker scripts in a separated bundle if worker-loader can generate its content to a custom blob and a |
I think we can do it, do you want to send a PR? |
Let's close in favor #281, I think solution here https://benohead.com/blog/2017/12/06/cross-domain-cross-browser-web-workers/ is good |
We were using
worker-loader
and encountered CORS issue, theinline
option works but make bundle much larger.I'm wondering if we can provide a
FetchWorker
like:With this implementation we can move worker to a separated file just like
inline
is disabled, but read it viafetch
to come across CORS issue.The text was updated successfully, but these errors were encountered: