(function () {
  'use strict';

  module.exports = function (gulp, plugins, config) {
    return function () {
      var source = gulp.src([config.patternsPath + '/**/*.scss', config.templatesPath + '/scss/**/*.scss'])
        .pipe(plugins.plumber({ errorHandler: plugins.notify.onError('Error: <%= error.message %>') }))
        .pipe(plugins.sourcemaps.init())
        .pipe(plugins.sass())
        .pipe(plugins.autoprefixer({
          browsers: ['last 10 Chrome versions',
                     'last 10 Firefox versions',
                     'Safari >= 9',
                     'ie >= 9',
                     'Edge >= 1',
                     'iOS >= 8',
                     'Android >= 4.4']
        }))
        .pipe(plugins.postcss([plugins.postcssFlexibility()]))
      ;

      var max = source.pipe(plugins.clone())
        .pipe(plugins.sourcemaps.write('.', { sourceRoot: null }))
        .pipe(gulp.dest(config.buildCssPath))
      ;

      var min = source.pipe(plugins.clone())
        .pipe(plugins.sourcemaps.init())
        .pipe(plugins.rename({ suffix: '.min' }))
        .pipe(plugins.postcss([plugins.cssnano()]))
        .pipe(plugins.size(config.sizeOptions))
        .pipe(plugins.sourcemaps.write('.', { sourceRoot: null }))
        .pipe(gulp.dest(config.buildCssPath))
        .pipe(plugins.browserSync.stream({ match: '**/*.css' }))
      ;

      return plugins.mergeStream(max, min);
    };
  };
})();

@@ -100,24 +100,235 @@
 nction () %7B%0A
+      var supported =%0A        %5B'last 10 Chrome versions',%0A         'last 10 Firefox versions',%0A         'Safari %3E= 9',%0A         'ie %3E= 9',%0A         'Edge %3E= 1',%0A         'iOS %3E= 8',%0A         'Android %3E= 4.4'%5D;%0A%0A
       var so
@@ -659,258 +659,17 @@
 rs: 
-%5B'last 10 Chrome versions',%0A                     'last 10 Firefox versions',%0A                     'Safari %3E= 9',%0A                     'ie %3E= 9',%0A                     'Edge %3E= 1',%0A                     'iOS %3E= 8',%0A                     'Android %3E= 4.4'%5D
+supported
 %0A   
@@ -1099,16 +1099,57 @@
 cssnano(
+%7B autoprefixer: %7B browsers: supported %7D %7D
 )%5D))%0A   

Stop cssnano from removing needed vendor prefixes.