From 308afa43337c555f9ff50f4362da191acf247ed8 Mon Sep 17 00:00:00 2001 From: madrilene Date: Fri, 10 Jan 2025 12:43:38 +0100 Subject: [PATCH] update eleventyImageTransformPlugin config --- eleventy.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eleventy.config.js b/eleventy.config.js index 1bae091..3646133 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -56,12 +56,12 @@ export default async function (eleventyConfig) { eleventyConfig.addPlugin(plugins.eleventyImageTransformPlugin, { formats: ['webp', 'jpeg'], - widths: [650, 960, 1200], + widths: ['auto'], htmlOptions: { imgAttributes: { loading: 'lazy', decoding: 'async', - sizes: '100vw' + sizes: 'auto' }, pictureAttributes: {} }