Browse Source

fix: support image building

master
Kazhnuz 8 months ago
parent
commit
7c00655aff
4 changed files with 8 additions and 1 deletions
  1. BIN
      dist/img/avatar.png
  2. BIN
      dist/img/background.png
  3. BIN
      dist/img/wmap.png
  4. +8
    -1
      gulpfile.js

BIN
dist/img/avatar.png View File

Before After
Width: 132  |  Height: 132  |  Size: 1.2KB

BIN
dist/img/background.png View File

Before After
Width: 800  |  Height: 400  |  Size: 4.5KB

BIN
dist/img/wmap.png View File

Before After
Width: 480  |  Height: 272  |  Size: 27KB

+ 8
- 1
gulpfile.js View File

@@ -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);

Loading…
Cancel
Save