1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-26 11:49:04 +01:00

quick fix for svg sprite

This commit is contained in:
Matthias Kretschmann 2015-06-11 01:31:40 +02:00
parent f6a4dc310c
commit 2e8f504739

View File

@ -287,7 +287,8 @@ gulp.task('optimize:html', function() {
gulp.task('optimize:images', function() {
return gulp.src([
dist + '/**/*.{png,jpg,jpeg,gif,svg,webp}',
'!' + dist + '/media/**/*'
'!' + dist + '/media/**/*',
'!' + dist + '/assets/img/sprite*'
])
.pipe($.cache($.imagemin({
optimizationLevel: 5, // png