gulp css
This commit is contained in:
parent
f2ebec54ce
commit
c82af3bd86
@ -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)
|
||||||
|
Reference in New Issue
Block a user