Astro svgOptimizer / prefixIds

Two SVG files, one.svg and two.svg, each define a gradient with id="a". One is red, the other is blue. prefixIds is enabled, so their ids should not collide.

one.svg — expected red
two.svg — expected blue

Both squares are red. Every file receives SVGO's fallback prefix prefix__, so both gradients end up as prefix__a and the second definition is unreachable. View source to confirm.