mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
fix images not being displayed
This commit is contained in:
parent
b57067d809
commit
1ba61635f0
@ -144,7 +144,9 @@ gulp.task("generate sprites", ["resize lg"], function() {
|
|||||||
//template: "./client/scss/_cards.hbs"
|
//template: "./client/scss/_cards.hbs"
|
||||||
})
|
})
|
||||||
.pipe(imagemin())
|
.pipe(imagemin())
|
||||||
.pipe(gulpif("*.png", rename({
|
.pipe(gulpif(function (file) {
|
||||||
|
return file.path.match(".*\\.png$") != null;
|
||||||
|
}, rename({
|
||||||
extname: ".PNG"
|
extname: ".PNG"
|
||||||
})))
|
})))
|
||||||
.pipe(gulp.dest("./public/build/"));
|
.pipe(gulp.dest("./public/build/"));
|
||||||
|
Loading…
Reference in New Issue
Block a user