<commit_before>var gulp        = require('gulp'),
    _           = require('lodash'),
    jpegtran    = require('imagemin-jpegtran'),
    pngcrush    = require('imagemin-pngcrush'),
    pngquant    = require('imagemin-pngquant'),
    svgo        = require('imagemin-svgo'),
    path        = require('path'),
    webpack     = require('webpack'),
    plugins     = require('gulp-load-plugins')({ camelize: true }),
    browserSync = require('browser-sync').create('browserSync'),
    reload      = browserSync.reload;

var production = !!plugins.util.env.production;

module.exports = function(projectConfig) {
    var filePaths = {
        src: {
            fonts: 'inc/fonts/**/*.*',
            images: 'inc/img/**/*.{png,jpg,jpeg,gif,svg,ico,json,xml}',
            scripts: 'inc/js/**/*.js',
            scriptsDir: 'inc/js',
            scriptsFilename: 'app.js',
            styles: 'inc/scss/**/*.scss',
            views: 'public/**/*.{html,phtml,php}'
        },
        dist: {
            base: 'public/inc/',
            fonts: 'fonts',
            images: 'img',
            scripts: 'js',
            scriptsFilename: 'app.js',
            styles: 'css'
        }
    };

    _.merge(filePaths, projectConfig);

    var webpackPlugins = {
        development: [
            new webpack.SourceMapDevToolPlugin()
        ],
        production: [
            new webpack.optimize.UglifyJsPlugin({
                comments: false
            })
        ]
    };

    var defaultConfig = {
        src: filePaths.src,
        dist: filePaths.dist,
        production: production,
        options: {
            autoprefixer: {
                browsers: [
                    'last 2 versions',
                    'ie >= 9'
                ]<commit_msg>Autoprefixer for IE >= 11<commit_after>var gulp        = require('gulp'),
    _           = require('lodash'),
    jpegtran    = require('imagemin-jpegtran'),
    pngcrush    = require('imagemin-pngcrush'),
    pngquant    = require('imagemin-pngquant'),
    svgo        = require('imagemin-svgo'),
    path        = require('path'),
    webpack     = require('webpack'),
    plugins     = require('gulp-load-plugins')({ camelize: true }),
    browserSync = require('browser-sync').create('browserSync'),
    reload      = browserSync.reload;

var production = !!plugins.util.env.production;

module.exports = function(projectConfig) {
    var filePaths = {
        src: {
            fonts: 'inc/fonts/**/*.*',
            images: 'inc/img/**/*.{png,jpg,jpeg,gif,svg,ico,json,xml}',
            scripts: 'inc/js/**/*.js',
            scriptsDir: 'inc/js',
            scriptsFilename: 'app.js',
            styles: 'inc/scss/**/*.scss',
            views: 'public/**/*.{html,phtml,php}'
        },
        dist: {
            base: 'public/inc/',
            fonts: 'fonts',
            images: 'img',
            scripts: 'js',
            scriptsFilename: 'app.js',
            styles: 'css'
        }
    };

    _.merge(filePaths, projectConfig);

    var webpackPlugins = {
        development: [
            new webpack.SourceMapDevToolPlugin()
        ],
        production: [
            new webpack.optimize.UglifyJsPlugin({
                comments: false
            })
        ]
    };

    var defaultConfig = {
        src: filePaths.src,
        dist: filePaths.dist,
        production: production,
        options: {
            autoprefixer: {
                browsers: [
                    'last 2 versions',
                    'ie >= 11'
                ]
{'fraction_non_alphanumeric': 0.1467682754727632, 'fraction_numerical': 0.0019757267852102737, 'mean_word_length': 1.6077998528329653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '444564', 'n_tokens_mistral': 1061, 'n_tokens_neox': 1013, 'n_words': 177}