<commit_before>class Html extends Task {
  constructor() {
    super('html');
  }
  get deps() {
    return ['styles', 'scripts'];
  }
  get fn() {
    return !config.static ? noop : () => {
      let stream = gulp.src(config.source.html + '/*.html');

      if (config.production) {
        stream = stream.pipe($.htmlmin({
          collapseWhitespace: true
        }));
      }

      return stream.pipe(gulp.dest(config.target.html));
    };
  }
}

export default Html;<commit_msg>fix some bug<commit_after>class Html extends Task {
  constructor() {
    super('html');
  }
  get deps() {
    return ['styles', 'scripts'];
  }
  get fn() {
    return !config.static ? noop : () => {
      let stream = gulp.src(config.source.html + '/*.html')
        .pipe($.useref({
          searchPath: [config.roots.tmp, config.roots.source, '.']
        }));

      if (config.production) {
        stream = stream.pipe($.if('*.html', $.htmlmin({
          collapseWhitespace: true
        })));
      }

      return stream.pipe(gulp.dest(config.target.html));
    };
  }
}

export default Html;
{'fraction_non_alphanumeric': 0.1763085399449036, 'fraction_numerical': 0.0, 'mean_word_length': 2.2732732732732734, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4354458', 'n_tokens_mistral': 361, 'n_tokens_neox': 355, 'n_words': 68}