You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
// Resize all JPG images to three different sizes: 200, 500, and 630 pixels
"*.jpg": [
{ width: 64, rename: { suffix: "-64w" } },
{ width: 128, rename: { suffix: "-128w" } },
{ width: 400, rename: { suffix: "-400w" } },
{ width: 500, rename: { suffix: "-500w" } },
{
// Compress, strip metadata, and rename original image //used for the index.html across all viewports // //used for the index.html across all viewports
rename: { suffix: "-better-original" }
}
]
},
{
// Global configuration for all images
// The output quality for JPEG, WebP and TIFF output formats
quality: 70,
progressive: true,
withMetadata: false
}
)
) // Use progressive (interlace) scan for JPEG and PNG output // Strip all metadata