This commit is contained in:
Felix Schulze 2019-11-08 12:59:30 +01:00
parent f2ebec54ce
commit c82af3bd86

View File

@ -246,6 +246,13 @@ var updateAssetVersion = function (done) {
.pipe(dest(paths.output)); .pipe(dest(paths.output));
}; };
// updates version in all assets
var updateCssVersion = function (done) {
return src(paths.styles.input)
.pipe(hashsrc({build_dir:paths.output,src_path:'src',hash_len:"6",query_name:"v"}))
.pipe(dest(paths.styles.output));
};
// updates version in all assets // updates version in all assets
var updateCssVersion = function (done) { var updateCssVersion = function (done) {
return src(paths.styles.input) return src(paths.styles.input)