ImageConfig
Source: gulp.config.mjs:120
Configurations to minify and copy the images.
Properties
cacheDir(StringSetting) — Where optimized images are cached between runs, so an image that hasn't changed isn't optimized again. An upgrade of imagemin (or its plugins) or other settings starts new results. Inside node_modules by default, so it's never committed; old entries aren't pruned, so delete it now and then to start over.enabled(BooleanSetting) — Toggle image minify and copy process.from(StringSetting) — Path to search for images.jpegQuality(FlagNumberSetting) — The JPEG quality (0 to 100) mozjpeg compresses to. False (the default) keeps mozjpeg's own default, 75. Raise it (85 is usually indistinguishable from the original) when 75 visibly bands smooth gradients.to(StringSetting) — Path to output images.
Type
Object.<string, Setting>