css also versioned
This commit is contained in:
parent
a9f10ad11f
commit
94542d869f
@ -240,7 +240,7 @@ var copyFiles = function (done) {
|
|||||||
|
|
||||||
// updates version in all assets
|
// updates version in all assets
|
||||||
var updateAssetVersion = function (done) {
|
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"}))
|
||||||
.pipe(hashsrc({build_dir:paths.input,src_path:"/",hash_len:"6",query_name:"v",exts:[".json"]}))
|
.pipe(hashsrc({build_dir:paths.input,src_path:"/",hash_len:"6",query_name:"v",exts:[".json"]}))
|
||||||
.pipe(dest(paths.output));
|
.pipe(dest(paths.output));
|
||||||
|
Reference in New Issue
Block a user