function scripts() {
    return gulp.src(PATHS.scripts.src)
        .pipe(sourcemaps.init('.'))
        .pipe(babel())
        .on('error', function(e) {
            console.error('\n' + e.toString() + '\n')
            this.emit('end')
        })
        .pipe(uglify())
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest(PATHS.scripts.dest));
}
/**
 * Browsers do not support require()-syntax, and Browserify solves this.
 * Start from the entry point and recursively compile imported files.
 */
Browsers do not support require()-syntax, and Browserify solves this.
Start from the entry point and recursively compile imported files.
Browsers do not support require () - syntax and Browserify solves this . Start from the entry point and recursively compile imported files .
function scripts() {
    return gulp.src(PATHS.scripts.src)
        .pipe(sourcemaps.init('.'))
        .pipe(babel())
        .on('error', function(e) {
            console.error('\n' + e.toString() + '\n')
            this.emit('end')
        })
        .pipe(uglify())
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest(PATHS.scripts.dest));
}
function scripts ( ) { return gulp . src ( PATHS . scripts . src ) . pipe ( sourcemaps . init ( '.' ) ) . pipe ( babel ( ) ) . on ( 'error' , function ( e ) { console . error ( '\n' + e . toString ( ) + '\n' ) this . emit ( 'end' ) } ) . pipe ( uglify ( ) ) . pipe ( sourcemaps . write ( '.' ) ) . pipe ( gulp . dest ( PATHS . scripts . dest ) ) ; }
Browsers do not support require()-syntax, and Browserify solves this.
Browsers do not support require () - syntax and Browserify solves this .