function styles() {
    // Add vendor prefixes based on rules by http://www.caniuse.com.
    // Only applies to properties that are not supported at or below the specified client version.
    const autoprefixerBrowsers = [
        "Android 2.3",
        "Android >= 4",
        "Chrome >= 20",
        "Firefox >= 24",
        "Explorer >= 8",
        "iOS >= 6",
        "Opera >= 12",
        "Safari >= 6"
    ];

    return src(paths.src.styles)
        .pipe($.using())
        .pipe($.sourcemaps.init())
        .pipe($.sass().on("error", $.sass.logError))
        .pipe($.autoprefixer(autoprefixerBrowsers))
        .pipe(dest(paths.dist.styles))
        .pipe($.if("*.css", $.cssnano()))
        .pipe($.size({ title: "styles" }))
        .pipe($.sourcemaps.write("maps"))
        .pipe(dest(paths.dist.styles))
        .pipe(browserSync.stream());
}
// Compile CSS from Sass files.
Compile CSS from Sass files.
Compile CSS from Sass files .
function styles() {
    const autoprefixerBrowsers = [
        "Android 2.3",
        "Android >= 4",
        "Chrome >= 20",
        "Firefox >= 24",
        "Explorer >= 8",
        "iOS >= 6",
        "Opera >= 12",
        "Safari >= 6"
    ];
    return src(paths.src.styles)
        .pipe($.using())
        .pipe($.sourcemaps.init())
        .pipe($.sass().on("error", $.sass.logError))
        .pipe($.autoprefixer(autoprefixerBrowsers))
        .pipe(dest(paths.dist.styles))
        .pipe($.if("*.css", $.cssnano()))
        .pipe($.size({ title: "styles" }))
        .pipe($.sourcemaps.write("maps"))
        .pipe(dest(paths.dist.styles))
        .pipe(browserSync.stream());
}
function styles ( ) { const autoprefixerBrowsers = [ "Android 2.3" , "Android >= 4" , "Chrome >= 20" , "Firefox >= 24" , "Explorer >= 8" , "iOS >= 6" , "Opera >= 12" , "Safari >= 6" ] ; return src ( paths . src . styles ) . pipe ( $ . using ( ) ) . pipe ( $ . sourcemaps . init ( ) ) . pipe ( $ . sass ( ) . on ( "error" , $ . sass . logError ) ) . pipe ( $ . autoprefixer ( autoprefixerBrowsers ) ) . pipe ( dest ( paths . dist . styles ) ) . pipe ( $ . if ( "*.css" , $ . cssnano ( ) ) ) . pipe ( $ . size ( { title : "styles" } ) ) . pipe ( $ . sourcemaps . write ( "maps" ) ) . pipe ( dest ( paths . dist . styles ) ) . pipe ( browserSync . stream ( ) ) ; }
Compile CSS from Sass files.
Compile CSS from Sass files .
// Add vendor prefixes based on rules by http://www.caniuse.com. // Only applies to properties that are not supported at or below the specified client version.