Skip to content
weftGitHub

Diagnostics

M010

A priority <Media> without width or sizes: eager images can't use sizes="auto", so the browser assumes 100vw.

Fix: Pass width="1/2" (a viewport fraction or CSS length) or sizes.

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