Merge pull request #15 from klausweiss/master
Fix #6: images not being loaded
This commit is contained in:
commit
e45d26ef7c
|
@ -144,7 +144,9 @@ gulp.task("generate sprites", ["resize lg"], function() {
|
|||
//template: "./client/scss/_cards.hbs"
|
||||
})
|
||||
.pipe(imagemin())
|
||||
.pipe(gulpif("*.png", rename({
|
||||
.pipe(gulpif(function (file) {
|
||||
return file.path.match(".*\\.png$") != null;
|
||||
}, rename({
|
||||
extname: ".PNG"
|
||||
})))
|
||||
.pipe(gulp.dest("./public/build/"));
|
||||
|
|
Loading…
Reference in New Issue