css also versioned

This commit is contained in:
Felix Schulze 2019-11-08 11:49:50 +01:00
parent a9f10ad11f
commit 94542d869f

View File

@ -240,7 +240,7 @@ var copyFiles = function (done) {
// updates version in all assets
var updateAssetVersion = function (done) {
return src('src/copy/**/**/*.{php,html}')
return src('src/**/*.{php,html,css}')
.pipe(hashsrc({build_dir:paths.input,src_path:"/",hash_len:"6",query_name:"v"}))
.pipe(hashsrc({build_dir:paths.input,src_path:"/",hash_len:"6",query_name:"v",exts:[".json"]}))
.pipe(dest(paths.output));