Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1000 Bytes

File metadata and controls

24 lines (16 loc) · 1000 Bytes
title Cannot set both densities and widths.
i18nReady true
githubURL https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts

import DontEditWarning from '~/components/DontEditWarning.astro'

IncompatibleDescriptorOptions: Only one of densities or widths can be specified. In most cases, you'll probably want to use only widths if you require specific widths.

What went wrong?

Only one of densities or widths can be specified. Those attributes are used to construct a srcset attribute, which cannot have both x and w descriptors.

See Also: