rework-imagesize
rework-imagesize copied to clipboard
[Enhancement] If image file name ends with "@2x", dimensions should be divided by 2
I use this rework plugin to dynamically set width and height of the container with background image. This works quite fine for 1x assets, but fails when using @2x images, since the container gets double the size it actually should be.
I could make the required PR, but not sure if it supposed to be in this plugin or should be done with another. If so, what would you propose?
I love GitHub notifications. :P Too easy to miss!
I'd love a PR for this if you're still interested.