Skip to content

Commit d218777

Browse files
committed
gulp-cache-update
1 parent 570986e commit d218777

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

gulpfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ gulp.task('watch', ['sass', 'js', 'browser-sync'], function() {
6565

6666
gulp.task('imagemin', function() {
6767
return gulp.src('app/img/**/*')
68-
// .pipe(cache(imagemin())) // Cache Images
69-
.pipe(imagemin())
68+
.pipe(cache(imagemin())) // Cache Images
7069
.pipe(gulp.dest('dist/img'));
7170
});
7271

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"del": "^3.0.0",
1414
"gulp": "^3.9.1",
1515
"gulp-autoprefixer": "^4.0.0",
16-
"gulp-cache": "^0.5.0",
16+
"gulp-cache": "^1.0.1",
1717
"gulp-clean-css": "^3.9.0",
1818
"gulp-concat": "^2.6.1",
1919
"gulp-imagemin": "^3.4.0",

0 commit comments

Comments
 (0)