fix: support image building

This commit is contained in:
Kazhnuz 2019-11-28 14:29:17 +01:00
父節點 7f2f977ea2
當前提交 7c00655aff
共有 4 個檔案被更改,包括 8 行新增1 行删除

二進制
dist/img/avatar.png vendored Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 1.2 KiB

二進制
dist/img/background.png vendored Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 4.5 KiB

二進制
dist/img/wmap.png vendored Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 27 KiB

查看文件

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