fix: support image building

This commit is contained in:
Kazhnuz 2019-11-28 14:29:17 +01:00
parent 7f2f977ea2
commit 7c00655aff
4 changed files with 8 additions and 1 deletions

BIN
dist/img/avatar.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
dist/img/background.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
dist/img/wmap.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -22,7 +22,14 @@ function dep() {
} }
function img() {
return src(['src/img/*'])
.pipe(dest('dist/img'));
}
exports.html = html; exports.html = html;
exports.css = css; exports.css = css;
exports.dep = dep; exports.dep = dep;
exports.default = parallel(html, css, dep); exports.img = img;
exports.default = parallel(html, css, dep, img);