Fix image sizing

This commit is contained in:
Andras Schmelczer 2022-09-25 21:43:02 +02:00
parent 33051841f5
commit babda52779
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
3 changed files with 6 additions and 4 deletions

View file

@ -59,10 +59,10 @@ module.exports = (env, argv) => ({
loader: 'responsive-loader',
options: {
adapter: require('responsive-loader/sharp'),
sizes: [200, 500, 1200, 1920],
sizes: [200, 500, 900, 1400, 1920],
placeholder: true,
placeholderSize: 64,
quality: 90,
quality: 85,
format: 'webp',
progressive: true,
name: '[hash:8].[ext]',