unpic
unpic copied to clipboard
Astro transformer format
I may be misunderstanding how the transformers or Astro components work, but I’m not sure how to set webp
as the format. The url param f=webp
doesn’t work, and I can’t seem to get the <Source />
component to work either (maybe I’m setting type="image/webp"
incorrectly?). Anyway, tips to get the webp
format working are much appreciated.
The <Image />
component works great otherwise (once the typing is fixed)