From 607200609f2a54efadc6672bef82a69ceb7e0b12 Mon Sep 17 00:00:00 2001 From: madrilene Date: Thu, 9 Jan 2025 15:08:52 +0100 Subject: [PATCH] adjust eleventyImageTransformPlugin settings --- eleventy.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eleventy.config.js b/eleventy.config.js index c2edee8..fed2df4 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -56,14 +56,14 @@ export default async function (eleventyConfig) { eleventyConfig.addPlugin(plugins.eleventyImageTransformPlugin, { formats: ['avif', 'webp', 'jpeg'], - outputDir: '/assets/images/', - widths: ['auto'], + extensions: 'html', + outputDir: '/assets/img/', + widths: [650, 960, 1200], extensions: 'html', htmlOptions: { imgAttributes: { loading: 'lazy', - decoding: 'async', - sizes: '100vw' + decoding: 'async' }, pictureAttributes: {} }