Slide 59
Slide 59 text
options: {
progressive: true
},
imagemin: {
png: {
options: {
optimizationLevel: 7
},
files: [
{
expand: true,
cwd: 'source/images/',
src: ['**/*.png'],
dest: 'source/images/',
ext: '.png'
}
]
},
jpg: {
options: {
progressive: true
},
files: [
{
expand: true,
cwd: 'source/images/',
src: ['**/*.jpg'],
dest: 'source/images/',
ext: '.jpg'
}
]
}