-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline workers fail in safari due to the use of data urls #2504
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Comments
I'm also experiencing same issue, something like this patch meganrogge/vscode@35e0aec would solve it |
nihalgonsalves
added
bug
contribution welcome
p3-minor-bug
An edge case that only affects very specific usage (priority)
and removed
pending triage
labels
May 11, 2021
This comment has been minimized.
This comment has been minimized.
9 tasks
9 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Safari does not support base64 data urls in web workers:
Vite uses data urls in workers when importing using the special
?worker&inline
.A possible fix would be to use inline blobs instead (using
Blob
andURL.createObjectURL
).Reproduction
System Info
vite
version: 2.0.5The text was updated successfully, but these errors were encountered: