Browse Source

fix: support image building

master
Kazhnuz 2 years ago
parent
commit
7c00655aff
  1. BIN
      dist/img/avatar.png
  2. BIN
      dist/img/background.png
  3. BIN
      dist/img/wmap.png
  4. 9
      gulpfile.js

BIN
dist/img/avatar.png

After

Width: 132  |  Height: 132  |  Size: 1.2 KiB

BIN
dist/img/background.png

After

Width: 800  |  Height: 400  |  Size: 4.5 KiB

BIN
dist/img/wmap.png

After

Width: 480  |  Height: 272  |  Size: 27 KiB

9
gulpfile.js

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