<commit_before>const gulp = require('gulp');
const revAll = require('gulp-rev-all');
const { cacheBust: cacheBustConfig } = require('./../config.js');

const cacheBustTask = function cacheBust() {
  const { src, cfg, dest } = cacheBustConfig();

  return gulp.src(src)
    .pipe(revAll.revision(cfg))
    .pipe(gulp.dest(dest));
};

module.exports = {
  cacheBustTask,
};<commit_msg>Generate rev-manifest.json for cache busting<commit_after>const gulp = require('gulp');
const revAll = require('gulp-rev-all');
const { cacheBust: cacheBustConfig } = require('./../config.js');

const cacheBustTask = function cacheBust() {
  const { src, cfg, dest } = cacheBustConfig();

  return gulp
    .src(src)
    .pipe(revAll.revision(cfg))
    .pipe(gulp.dest(dest))
    .pipe(revAll.manifestFile())
    .pipe(gulp.dest(dest));
};

module.exports = {
  cacheBustTask,
};
{'fraction_non_alphanumeric': 0.1740139211136891, 'fraction_numerical': 0.0, 'mean_word_length': 4.262195121951219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6674758', 'n_tokens_mistral': 307, 'n_tokens_neox': 302, 'n_words': 57}