Оптимизация сайта

This commit is contained in:
Ivan Zinchenko 2019-01-31 19:15:46 +05:00
parent da01421148
commit b3d0a5b0b3
3 changed files with 7 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
dist/img/map.jpg vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -59,7 +59,13 @@ gulp.task("build", gulp.series(function(cb) {gulp.series("clear"); cb()}, "img",
return gulp.src("app/*.html").pipe(gulp.dest("dist"))
},
function() {
return gulp.src(["app/*", "!app/*.html"]).pipe(gulp.dest("dist"))
return gulp.src("app/.htaccess").pipe(gulp.dest("dist"))
},
function() {
return gulp.src("app/favicon.ico").pipe(gulp.dest("dist"))
},
function() {
return gulp.src("app/robots.txt").pipe(gulp.dest("dist"))
}
))