You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How I create web worker (There is a map library that loads tiles in web workers and importScriptInWorkers function is a part of it, I assume it loads in classic mode)
It doesn't even modify import in any way, when I try to add ?url to the import it exactly shows as;
I found this similar issue but did not help as I can't touch how importScriptInWorkers behaves, so I am stuck with classic mode. How can possibly I fix it or workaround it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My import statement in web worker;
How I create web worker (There is a map library that loads tiles in web workers and
importScriptInWorkers
function is a part of it, I assume it loads inclassic
mode)In development it becomes;
In production it becomes;
It doesn't even modify import in any way, when I try to add
?url
to the import it exactly shows as;I found this similar issue but did not help as I can't touch how
importScriptInWorkers
behaves, so I am stuck withclassic
mode. How can possibly I fix it or workaround it?Beta Was this translation helpful? Give feedback.
All reactions