Utility to perform build-time image transformations.
Requires Node 12+
Low level utility to perform build-time image transformations for both vector and raster images. Output multiple sizes, save multiple formats, cache remote images locally. Uses the sharp image processor.
You maintain full control of your HTML—this plugin does not generate any markup. Use withor
background-image, or others! Works great to add
heightto your images! Does not require or rely on file extensions (like
.jpg) in URLs or local files, which may be missing or inaccurate.
npm install --save-dev @11ty/eleventy-imgdocumentation is on 11ty.dev.
npm run test