mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-13 16:45:14 +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() {
|
||||
return gulp.src([
|
||||
dist + '/**/*.{png,jpg,jpeg,gif,svg,webp}',
|
||||
'!' + dist + '/media/**/*'
|
||||
'!' + dist + '/media/**/*',
|
||||
'!' + dist + '/assets/img/sprite*'
|
||||
])
|
||||
.pipe($.cache($.imagemin({
|
||||
optimizationLevel: 5, // png
|
||||
|
Loading…
Reference in New Issue
Block a user