Skip to content
weftGitHub

Diagnostics

M016

<Media src> given a string: nothing knows its size before it loads, so the page shifts.

Fix: Import it with ?media, or store what ctx.media.ingest returns and type the field z.media().

Status in weft@0.1.0: reported by weft check when @weft-js/plugin-media is in plugins.