Skip to content

Commit 1b4b958

Browse files
author
nvisionative
authored
Merge pull request #96 from nvisionative/issue-67
Corrected missing src reference in the gulpfile.js for image compression
2 parents cce2bad + 222b704 commit 1b4b958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var gulp = require('gulp'),
3636

3737
// Compresses images for production.
3838
gulp.task('images', function() {
39-
return gulp.src( './images/**/*.{jpg,jpeg,png,gif}' )
39+
return gulp.src( './'+src+'images/**/*.{jpg,jpeg,png,gif}' )
4040
.pipe(imagemin({
4141
interlaced: true,
4242
progressive: true,

0 commit comments

Comments
 (0)