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
Esvelte has become my favorite framework both in terms of performance and ease. And the fact that the style tag doesn't integrate with the script is a little frustrating... but ok!
I've been trying out new features of the tool and came across enhanced-img, very good! I know it's in the experimental phase, but the suggestion has come to implement some way of optimizing media imports in the style tag.
Describe the proposed solution
Increase the performance and optimization of imported media through the style tag.
The text was updated successfully, but these errors were encountered:
justino-gustavo
changed the title
Use @svelte/enhanced-img to generate image-set css tributte
Use @svelte/enhanced-img to generate image-set css atributte
Jun 14, 2024
Describe the problem
Esvelte has become my favorite framework both in terms of performance and ease. And the fact that the style tag doesn't integrate with the script is a little frustrating... but ok!
I've been trying out new features of the tool and came across enhanced-img, very good! I know it's in the experimental phase, but the suggestion has come to implement some way of optimizing media imports in the style tag.
Describe the proposed solution
Increase the performance and optimization of imported media through the style tag.
Alternatives considered
This is a quick solution I use:
and in the components I define a css variable:
Importance
would make my life easier
Additional Information
enhaced-img returns:
generated image-set:
The text was updated successfully, but these errors were encountered: