1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-07-27 20:33:28 +00:00

Merge pull request from klausweiss/master

Fix : images not being loaded
This commit is contained in:
Tim Meier
2017-06-10 18:59:20 +02:00
committed by GitHub

@@ -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/"));