-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
preloaded module missing cookies. #4453
Comments
The issue is an old Chrome bug. |
I don't think Vite should add the But we can add the |
em. Vite added the This causes the problem. |
Looks like this commit introduced that change. |
Closing as #4408 is merged |
Clear and concise description of the problem
The preloaded module may missing cookies in some browser. (For example:windows QQ browser 10.8 4405 chromium70.0.3538.25).
Reproduction
pic1
pic2
pic1
the request header without cookies in file that name is

vendor.9ed1d783.js
.pic2
This request carries a cookie in file that name is


vendor.9ed1d783.js
when i addedcrossorigin
.Suggested solution
Added the
crossorigin
attribute to the modulepreload link tag#4408
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: