Currentlyimage-width or image-height does not work on SVG images, which are missing width and height attributes and only have a viewBox.
There is an upstream fix for this issue: image-size/image-size#38
You just need to adjust the dependency for it. ^0.3.5 does not get 0.6.3.
Currently
image-widthorimage-heightdoes not work on SVG images, which are missingwidthandheightattributes and only have aviewBox.There is an upstream fix for this issue: image-size/image-size#38
You just need to adjust the dependency for it.
^0.3.5does not get0.6.3.