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
Currently css is cached and returned as a virtual module when .svelte files are imported as js module.
But with vite ?direct or ?inline query urls, it is possible that the first request is not for the js module but the css.
Describe the proposed solution
In case the cache is empty when css is requested, compile.
Alternatives considered
keep current behavior, styles might not be needed before the js module
Importance
nice to have
The text was updated successfully, but these errors were encountered:
Describe the problem
Currently css is cached and returned as a virtual module when
.svelte
files are imported as js module.But with vite
?direct
or?inline
query urls, it is possible that the first request is not for the js module but the css.Describe the proposed solution
In case the cache is empty when css is requested, compile.
Alternatives considered
keep current behavior, styles might not be needed before the js module
Importance
nice to have
The text was updated successfully, but these errors were encountered: