From 019351fd357d6d32182809dba8988e9e3cc4e806 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Fri, 18 Jul 2025 11:28:27 +0200 Subject: [PATCH] fix: :bug: wrong string format for sizes attribute --- eleventy.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index 38b6912..2a68590 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -27,7 +27,7 @@ const IMAGE_TRANSFORM_OPTS = { defaultAttributes: { loading: 'lazy', decoding: 'async', - sizes: IMAGE_ATTR_SIZES.map(({ minw, size }) => (minw ? `(min-width: ${minw}): ${size}` : size)) + sizes: IMAGE_ATTR_SIZES.map(({ minw, size }) => (minw ? `(min-width: ${minw}) ${size}` : size)).join(', ') } };