Don't cachebust JSON files..

This commit is contained in:
Colin McLeod
2015-07-14 21:58:27 -07:00
parent 88587c6487
commit d2fc526039

View File

@@ -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'))