We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a39933 commit 3a142efCopy full SHA for 3a142ef
generators/gulp/templates/gulpfile.js
@@ -163,10 +163,12 @@ gulp.task('inject:footer', () =>
163
// 'gulp images' -- optimizes and caches your images
164
gulp.task('images', () =>
165
gulp.src('src/assets/images/**/*')
166
- .pipe($.cache($.imagemin({
167
- imagemin.gifsicle({interlaced: true}),
168
- imagemin.mozjpeg({progressive: true})
169
- })))
+ .pipe($.cache($.imagemin([
+ $.imagemin.gifsicle({interlaced: true}),
+ $.imagemin.jpegtran({progressive: true}),
+ $.imagemin.optipng(),
170
+ $.imagemin.svgo({plugins: [{cleanupIDs: false}]})
171
+ ])))
172
.pipe(gulp.dest('.tmp/assets/images'))
173
.pipe($.size({title: 'images'}))
174
);
0 commit comments