Skip to content

Commit

Permalink
Don't create smaller images than 1080
Browse files Browse the repository at this point in the history
Signed-off-by: Eduard Itrich <eduard.itrich@porsche.de>
on-behalf-of: @porscheofficial <open_source_office@porsche.de>
  • Loading branch information
itrich committed Dec 18, 2023
1 parent 90c33e6 commit 7d8f5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 7d8f5ee

Please sign in to comment.