From 759a23a30953361be4f96e73ede637f33c41597c Mon Sep 17 00:00:00 2001 From: madrilene Date: Wed, 7 Feb 2024 11:54:14 +0100 Subject: [PATCH] reduce used image sizes --- config/shortcodes/image/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/shortcodes/image/index.js b/config/shortcodes/image/index.js index 737eb11..03e3b34 100644 --- a/config/shortcodes/image/index.js +++ b/config/shortcodes/image/index.js @@ -18,7 +18,7 @@ const imageShortcode = async ( loading = 'lazy', className, sizes = '90vw', - widths = [320, 570, 880, 1024, 1248], + widths = [440, 880, 1360], formats = ['avif', 'webp', 'jpeg'] ) => { const metadata = await Image(src, {