fix: support image building
This commit is contained in:
parent
7f2f977ea2
commit
7c00655aff
4 changed files with 8 additions and 1 deletions
BIN
dist/img/avatar.png
vendored
Normal file
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
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
BIN
dist/img/wmap.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
|
@ -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);
|
||||||
|
|
Reference in a new issue