<commit_before>module.exports = (GULP, PLUGINS, NODE_MODULES, PATHS, REVISION) => {
    return function (callback)
    {
        var stylesheets = GULP.src([
            PATHS.dest + '/assets/css/**/*.css'
        ])
        .pipe(PLUGINS.combineMq({
            beautify: false
        }))
        .pipe(plugins.cssnano())
        .pipe(plugins.rename({
            suffix: '.min'
        }))
        .pipe(GULP.dest(PATHS.dest + '/assets/css/'));

        var javascripts = GULP.src([
            '!**/modernizr/**',
            PATHS.dest + '/assets/js/**/*.js',
        ])
        .pipe(PLUGINS.uglify())
        .pipe(PLUGINS.rename({
            suffix: '.min'
        }))
        .pipe(GULP.dest(PATHS.dest + '/assets/js/'));

        return NODE_MODULES.merge(stylesheets, javascripts);
    }
}<commit_msg>Minify fixes<commit_after>module.exports = (GULP, PLUGINS, NODE_MODULES, PATHS, REVISION) => {
    return function (callback)
    {
        var stylesheets = GULP.src([
            PATHS.dest + '/resources/**/stylesheets/**/*.css',
            '!**/*.min*'
        ], {
            no_dir: true
        })
        .pipe(PLUGINS.combineMq({
            beautify: false
        }))
        .pipe(PLUGINS.cssnano())
        .pipe(PLUGINS.rename({
            suffix: '.min'
        }))
        .pipe(GULP.dest(PATHS.dest + '/resources' ));

        var javascripts = GULP.src([
            PATHS.dest + '/resources/**/javascripts/**/*.js',
            '!' + PATHS.dest + '/resources/base/javascripts/lib/**/*',
            '!**/*.min*'
        ], {
            no_dir: true
        })
        .pipe(PLUGINS.uglify())
        .pipe(PLUGINS.rename({
            suffix: '.min'
        }))
        .pipe(GULP.dest(PATHS.dest + '/resources' ));

        return NODE_MODULES.merge(javascripts);
    }
}
{'fraction_non_alphanumeric': 0.17920353982300885, 'fraction_numerical': 0.0, 'mean_word_length': 1.6141618497109826, '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': '3583580', 'n_tokens_mistral': 631, 'n_tokens_neox': 611, 'n_words': 83}