diff options
Diffstat (limited to 'eleventy.config.js')
-rw-r--r-- | eleventy.config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eleventy.config.js b/eleventy.config.js index 4cb7912..ce5171b 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -44,9 +44,11 @@ export default async function(eleventyConfig) { eleventyConfig.addPlugin(eleventyImageTransformPlugin, { extensions: "html", formats: ["webp", "jpeg", "svg", "avif", "auto", "png"], + widths: [128, 256, 512, 1024, "auto"], defaultAttributes: { - loading: "lazy", + sizes: "auto", decoding: "async", + loading: "lazy" }, }); |