# Images
# images.plugins
interface BalmImagesPlugins {
gif?: boolean | Function;
jpeg?: boolean | Function;
png?: boolean | Function;
svg?: boolean | Function;
}
images.plugins: BalmImagesPlugins | Function[] = {}
New in 2.5.0, Rename
todefaultPlugins
plugins
in 2.22.0
Enable/Disable compress optimizers for the specified format images.
BalmJS default imagemin plugins:
- gifsicle (opens new window)
- mozjpeg (opens new window)
- optipng (opens new window)
- svgo (opens new window)
⚠️ pre-build test failed Solution