From c82af3bd86a621eee924569c6fcdbc78b13500fd Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Fri, 8 Nov 2019 12:59:30 +0100 Subject: [PATCH] gulp css --- gulpfile.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 4cdd20d..8dd90eb 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -246,6 +246,13 @@ var updateAssetVersion = function (done) { .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 var updateCssVersion = function (done) { return src(paths.styles.input)