function jsTask(){
    return src([
        files.jsPath
        //,'!' + 'includes/js/jquery.min.js', // to exclude any specific files
    ])
        .pipe(concat(allCompiledJsFilename))
        .pipe(uglify())
        .pipe(dest(files.distPath)
        );
}
// JS task: concatenates and uglifies JS files to script.js
JS task: concatenates and uglifies JS files to script.js
JS task : concatenates and uglifies JS files to script . js
function jsTask(){
    return src([
        files.jsPath
    ])
        .pipe(concat(allCompiledJsFilename))
        .pipe(uglify())
        .pipe(dest(files.distPath)
        );
}
function jsTask ( ) { return src ( [ files . jsPath ] ) . pipe ( concat ( allCompiledJsFilename ) ) . pipe ( uglify ( ) ) . pipe ( dest ( files . distPath ) ) ; }
JS task: concatenates and uglifies JS files to script.js
JS task : concatenates and uglifies JS files to script . js
//,'!' + 'includes/js/jquery.min.js', // to exclude any specific files