<script props>
  module.exports = {
    src: props.src
  }
</script>
<picture>
  <source srcset="{{src}}?as=avif" type="image/avif" />
  <source srcset="{{src}}?as=webp" type="image/webp" />
  <img src="{{src}}" attributes />
</picture>
