fix: support image building
This commit is contained in:
父節點
7f2f977ea2
當前提交
7c00655aff
未顯示二進位檔案。
之後 寬度: | 高度: | 大小: 1.2 KiB |
未顯示二進位檔案。
之後 寬度: | 高度: | 大小: 4.5 KiB |
未顯示二進位檔案。
之後 寬度: | 高度: | 大小: 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);
|
||||
|
|
新增問題並參考