JonasKruckenberg / imagetools

Load and transform images using a toolbox :toolbox: of custom import directives!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Renaming picture fallback to img is not reflected in the document

iicdii opened this issue · comments

Picutre's fallback property was renamed to img in 4.0.0

- 861276f: breaking: rename picture fallback to img

But it doesn't reflected in the document, which confuses

- [fallback](vite_src.Picture.md#fallback)

html += `<img src={image.fallback.src} /></picture>`

fixed