mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-11 23:55:16 +01:00
quick fix for svg sprite
This commit is contained in:
parent
f6a4dc310c
commit
2e8f504739
@ -287,7 +287,8 @@ gulp.task('optimize:html', function() {
|
|||||||
gulp.task('optimize:images', function() {
|
gulp.task('optimize:images', function() {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
dist + '/**/*.{png,jpg,jpeg,gif,svg,webp}',
|
dist + '/**/*.{png,jpg,jpeg,gif,svg,webp}',
|
||||||
'!' + dist + '/media/**/*'
|
'!' + dist + '/media/**/*',
|
||||||
|
'!' + dist + '/assets/img/sprite*'
|
||||||
])
|
])
|
||||||
.pipe($.cache($.imagemin({
|
.pipe($.cache($.imagemin({
|
||||||
optimizationLevel: 5, // png
|
optimizationLevel: 5, // png
|
||||||
|
Loading…
Reference in New Issue
Block a user