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)