-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Usage inside CSS #563
Comments
+1 |
Has anyone found a solution to this problem? |
@Abilov599
|
This would need support in Vite: vitejs/vite#14686 |
I just learned about Other interesting info here: https://web.dev/articles/responsive-images#images_in_css |
https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set |
When using vue, svelte, ... or other frameworks, often images are part of styles:
vite resolves and bundles these images properly, but it seems imagetools doesn't see them - they stay in the source format and are not transformed.
Is this expected?
The text was updated successfully, but these errors were encountered: