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
{{ message }}
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
It appears to me that CSS fallback requires that the filename specified in the config exactly matches the filename loaded in the head. If it does not then both stylesheets will be loaded irrespective of a match based on the exports config.
So, this will cause a request for both bootstrap.min.css and bootstrap.css:
Figured out the issue. For the first case to work the link requires a crossorigin attribute set to "anonymous" otherwise CORS prevents access to the stylesheet for the check for exports
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It appears to me that CSS fallback requires that the filename specified in the config exactly matches the filename loaded in the head. If it does not then both stylesheets will be loaded irrespective of a match based on the exports config.
So, this will cause a request for both bootstrap.min.css and bootstrap.css:
But this will only request a bootstrap.min.css once:
If that is intentional I think it would benefit form being made clear in an example
The text was updated successfully, but these errors were encountered: