<commit_before>gulp = require 'gulp'
PROP = require '../config'
imagepreload = require 'gulp-image-preload'
module.exports = ->
  gulp.src PROP.path.images_preload()
    .pipe imagepreload
      script: "_imagepreload.js"
      scriptPath: "_imagepreload.js"
      md5: false
    .pipe gulp.dest PROP.path.scripts("dest")<commit_msg>Fix image preload settings<commit_after>gulp = require 'gulp'
PROP = require '../config'
imagepreload = require 'gulp-image-preload'
module.exports = ->
  gulp.src PROP.path.images_preload()
    .pipe imagepreload
      script: "_imagepreload.js"
      scriptPath: "_imagepreload.js"
      md5: false
      reduceRev: (filename)-> filename.replace(/([^\.]+)-([^\.]+)\.([^\.]+)/, "$1.$3");
      rev: not PROP.isDev
    .pipe gulp.dest PROP.path.scripts("dest")
{'fraction_non_alphanumeric': 0.16897856242118536, 'fraction_numerical': 0.005044136191677175, 'mean_word_length': 3.3626373626373627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '1551139', 'n_tokens_mistral': 275, 'n_tokens_neox': 270, 'n_words': 55}