<commit_before>const gulp = require('gulp')
const sass = require('gulp-sass')
const sourcemaps = require('gulp-sourcemaps')
const rename = require('gulp-rename')
const cssnano = require('gulp-cssnano')
const sizereport = require('gulp-sizereport')
const notify = require('gulp-notify')
const postcss = require('gulp-postcss')
const autoprefixer = require('autoprefixer')
const flexbugsFixes = require('postcss-flexbugs-fixes')
const browserSync = require('browser-sync').create()
const nunjucksRender = require('gulp-nunjucks-md')

const postCssOpts = [
  autoprefixer({ browsers: [
    'Chrome >= 35',
    'Firefox >= 38',
    'Edge >= 12',
    'Explorer >= 10',
    'iOS >= 8',
    'Safari >= 8',
    'Android 2.3',
    'Android >= 4',
    'Opera >= 12'
  ]}),
  flexbugsFixes
]

nunjucksRender.setDefaults({
  marked: {
    highlight: function (code) {
      return require('highlight.js').highlightAuto(code).value
    }
  }
})

/**
 * Build<commit_msg>Remove Android 2.3 browser support<commit_after>const gulp = require('gulp')
const sass = require('gulp-sass')
const sourcemaps = require('gulp-sourcemaps')
const rename = require('gulp-rename')
const cssnano = require('gulp-cssnano')
const sizereport = require('gulp-sizereport')
const notify = require('gulp-notify')
const postcss = require('gulp-postcss')
const autoprefixer = require('autoprefixer')
const flexbugsFixes = require('postcss-flexbugs-fixes')
const browserSync = require('browser-sync').create()
const nunjucksRender = require('gulp-nunjucks-md')

const postCssOpts = [
  autoprefixer({ browsers: [
    'Chrome >= 35',
    'Firefox >= 38',
    'Edge >= 12',
    'Explorer >= 10',
    'iOS >= 8',
    'Safari >= 8',
    'Android >= 4',
    'Opera >= 12'
  ]}),
  flexbugsFixes
]

nunjucksRender.setDefaults({
  marked: {
    highlight: function (code) {
      return require('highlight.js').highlightAuto(code).value
    }
  }
})

/**
 * Build
{'fraction_non_alphanumeric': 0.16336116910229645, 'fraction_numerical': 0.015657620041753653, 'mean_word_length': 4.310249307479224, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '3454614', 'n_tokens_mistral': 705, 'n_tokens_neox': 658, 'n_words': 135}