Demo entry 6639698

k

   

Submitted by anonymous on Sep 10, 2017 at 17:47
Language: JavaScript. Code size: 526 Bytes.

gulp.task('js-min', function () {
    return gulp.src(compile.scripts)
        .pipe(uglify({
            compress: {
                // sequences: true,
                // dead_code: true,
                // conditionals: true,
                booleans: false
                // unused: true,
                // if_return: true,
                // join_vars: true,
                // drop_console: true
            }
        }))
        .pipe(rename("main.min.js"))
        .pipe(gulp.dest(build.script));
});

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).