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.
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: