Skip to content
weftGitHub

Diagnostics

M002

An image rendered through a ?url import or a string path, bypassing the optimizer.

Fix: import x from './x.jpg?media' and <Media src={x} alt="…" />.

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