I have a card component which gets the image src as a prop like this:
---
import { Image } from "astro:assets";
const { frontmatter, url } = Astro.props;
const { title, date, description, author, image } = frontmatter;
---
<Image
src={image.src}
alt={image.alt}
class="aspect-[5/3] h-auto w-full rounded-t-3xl object-cover"
format="avif"
quality="max"
height="300"
width="300"
/>
But on the build version there's no optimized image in the dist folder, and neither the img tag gets the url of the optimized image. What am I doing wrong?