Allow patterns to return multiple filenames
As per #428, it's currently not possible to write a pattern to parse an attribute with multiple filenames. The best example would be srcset, due to its comma-separated format:
srcset="[email protected] 2x, [email protected] 4x, [email protected] ...
As requested by @sindresorhus in #457, I'm separating this into its own issue.
any news about this feature ? is there any workaround to replace image url with the revved version on srcset attribute ?
#457 is merged.
sorry, i mean srcset with multiple values as follows:
<img src="/images/logo.jpg"
srcset="/images/logo.jpg 213w, /images/logo-2x.jpg 425w, /images/logo-3x.jpg 850w"
sizes="213px">
@xpicio I was only saying that #457 which is about adding support has been merged. But support is for now limited to only one value in srcset. We still need to fix this issue to support multiple values.