mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Don't cachebust JSON files..
This commit is contained in:
@@ -201,7 +201,7 @@ gulp.task('watch', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('cache-bust', function(done) {
|
gulp.task('cache-bust', function(done) {
|
||||||
var rev_all = new revAll({ prefix: cdnHostStr, dontRenameFile: ['.html','db.json'] });
|
var rev_all = new revAll({ prefix: cdnHostStr, dontRenameFile: ['.html','.json'] });
|
||||||
var stream = gulp.src('build/**')
|
var stream = gulp.src('build/**')
|
||||||
.pipe(rev_all.revision())
|
.pipe(rev_all.revision())
|
||||||
.pipe(gulp.dest('build'))
|
.pipe(gulp.dest('build'))
|
||||||
|
|||||||
Reference in New Issue
Block a user