What is the best practice approach for resizing static theme images to
different dimensions (for srcset/sizes). In previous sage 8.x I would use a gulp plugin
sage 9.x is webpack based, what loaders/tools are good for resizing a
single input image to different dimensions so it can be used for srcset?
The images are large and belong to the theme itself, treating them as media would
violate the separation of content and presentation (theme decoration),
hence I cannot use the WordPress integrated thumbnail generation for this.
For a header image, the theme static image can be specified as default image -
however, WordPress also doesn’t generate thumbnails for it - it doesn’t seem to
support responsive images/thumbnail generation for header default-image at all.