Skip to content
kerfjsGitHub

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 kerf@0.1.0: reported by kerf check when @kerf-js/media is in plugins.