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’m doing everything I can to avoid <picture> tags around my images. So, I only have one format output for vectors (SVG, svgShortCircuit: true) and one for rasters (AVIF).
Vectors (SVG) render as expected, as they’re not being processed by the plugin:
This happens because my formats array contains more than one element (["svg", "avif"]) but, in practice, the output is always a single format. For this combination of settings, the plugin should make an exception and output consistent markup, preferably one without the <picture> wrapper.
I’m doing everything I can to avoid
<picture>
tags around my images. So, I only have one format output for vectors (SVG,svgShortCircuit: true
) and one for rasters (AVIF).Vectors (SVG) render as expected, as they’re not being processed by the plugin:
Rasters (AVIF) do come wrapped within an annoying and redundant
<picture>
element.This happens because my
formats
array contains more than one element (["svg", "avif"]
) but, in practice, the output is always a single format. For this combination of settings, the plugin should make an exception and output consistent markup, preferably one without the<picture>
wrapper.Related: #62
The text was updated successfully, but these errors were encountered: