From 7d8f5ee90a2b157d00a5bf0da2f45d1370c8affb Mon Sep 17 00:00:00 2001 From: Eduard Itrich Date: Mon, 18 Dec 2023 10:56:47 +0100 Subject: [PATCH] Don't create smaller images than 1080 Signed-off-by: Eduard Itrich on-behalf-of: @porscheofficial --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index e022aee..00b8519 100644 --- a/next.config.js +++ b/next.config.js @@ -11,7 +11,7 @@ const nextConfig = { // eslint-disable-next-line no-magic-numbers imageSizes: [10, 16, 32, 48, 64, 96, 128, 256, 384], // eslint-disable-next-line no-magic-numbers - deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840], + deviceSizes: [1080, 1200, 1920, 2048, 3840], }, transpilePackages: ["next-image-export-optimizer"], env: {