<commit_before>'use strict';

var gulp         = require('gulp'),
    gulpif       = require('gulp-if'),
    sass         = require('gulp-sass'),
    config       = require('../config').sass,
    sourceMaps   = require('gulp-sourcemaps'),
    autoprefixer = require('gulp-autoprefixer'),
    plumber      = require('gulp-plumber'),
    gutil        = require('gulp-util'),
    rename       = require('gulp-rename');

gulp.task('sass', ['stylelint'], function() {
  var env   = global.runmode,
      isDev = (env === 'dev');

  return gulp.src(config.src)
       .pipe(gulpif(isDev, sourceMaps.init()))
       .pipe(plumber(function(error) {
         gutil.log(gutil.colors.red(error.message));
         this.emit('end');
       }))
       .pipe(sass(config[env].settings))
       .pipe(autoprefixer())
       .pipe(rename({suffix: '.min'}))
       .pipe(gulpif(isDev, sourceMaps.write(config[env].sourceMapsDir)))
       .pipe(gulp.dest(config[env].dest));
});<commit_msg>FE-190: support last 2 versions and anything >= IE8<commit_after>'use strict';

var gulp         = require('gulp'),
    gulpif       = require('gulp-if'),
    sass         = require('gulp-sass'),
    config       = require('../config').sass,
    sourceMaps   = require('gulp-sourcemaps'),
    autoprefixer = require('gulp-autoprefixer'),
    plumber      = require('gulp-plumber'),
    gutil        = require('gulp-util'),
    rename       = require('gulp-rename');

gulp.task('sass', ['stylelint'], function() {
  var env   = global.runmode,
      isDev = (env === 'dev');

  return gulp.src(config.src)
       .pipe(gulpif(isDev, sourceMaps.init()))
       .pipe(plumber(function(error) {
         gutil.log(gutil.colors.red(error.message));
         this.emit('end');
       }))
       .pipe(sass(config[env].settings))
       .pipe(autoprefixer({browsers: ['last 2 versions', 'IE >= 8']}))
       .pipe(rename({suffix: '.min'}))
       .pipe(gulpif(isDev, sourceMaps.write(config[env].sourceMapsDir)))
       .pipe(gulp.dest(config[env].dest));
});
{'fraction_non_alphanumeric': 0.18774703557312253, 'fraction_numerical': 0.003458498023715415, 'mean_word_length': 2.75, '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': '5752201', 'n_tokens_mistral': 697, 'n_tokens_neox': 695, 'n_words': 100}