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
I've noticed in the README notes there's no support for 1x or 2x sizes. Is this something which is on the roadmap?
It's not always practical to know the dimensions of an image ahead of time in order to explicitly set it's width at 0.5 scale, so passing the sizes in for every import doesn't scale if you have loads of images - especially if those images might be updated and then the width you've specified becomes incorrect.
The text was updated successfully, but these errors were encountered:
Is this something the project would be open to supporting? Or taking as a contribution?
For our use case, this is coming from a Lighthouse report and this loader works great so far, and would just needs the 1x, 2x, etc to help us be fully compliant.
I've noticed in the README notes there's no support for 1x or 2x sizes. Is this something which is on the roadmap?
It's not always practical to know the dimensions of an image ahead of time in order to explicitly set it's width at 0.5 scale, so passing the sizes in for every import doesn't scale if you have loads of images - especially if those images might be updated and then the width you've specified becomes incorrect.
The text was updated successfully, but these errors were encountered: