revision strategy

This commit is contained in:
0dp 2018-06-08 11:44:19 +02:00
parent ba5d94d52a
commit 2f902facae
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ gulp.task( 'rev', function() {
.pipe(rev()) .pipe(rev())
.pipe(gulp.dest('./')) // write rev'd assets to build dir .pipe(gulp.dest('./')) // write rev'd assets to build dir
.pipe(rev.manifest()) .pipe(rev.manifest())
.pipe(revDel({dest: './'}))
.pipe(gulp.dest('./')); // write manifest to build dir .pipe(gulp.dest('./')); // write manifest to build dir
}); });

View File

@ -51,6 +51,7 @@
"gulp-watch": "5.0.0", "gulp-watch": "5.0.0",
"merge2": "^1.2.1", "merge2": "^1.2.1",
"popper.js": "^1.12.9", "popper.js": "^1.12.9",
"rev-del": "^1.0.5",
"run-sequence": "^2.2.1", "run-sequence": "^2.2.1",
"undescores-for-npm": "^1.0.0", "undescores-for-npm": "^1.0.0",
"gulp-autoprefixer": "^5.0.0" "gulp-autoprefixer": "^5.0.0"