function css() {
  return gulp
    .src("./scss/**/*.scss")
    .pipe(plumber())
    .pipe(sass({
      outputStyle: "expanded",
      includePaths: "./node_modules",
    }))
    .on("error", sass.logError)
    .pipe(autoprefixer({
      browsers: ['last 2 versions'],
      cascade: false
    }))
    .pipe(header(banner, {
      pkg: pkg
    }))
    .pipe(gulp.dest("./css"))
    .pipe(rename({
      suffix: ".min"
    }))
    .pipe(cleanCSS())
    .pipe(gulp.dest("./css"))
    .pipe(browsersync.stream());
}
function css() {
  return gulp
    .src("./scss/**/*.scss")
    .pipe(plumber())
    .pipe(sass({
      outputStyle: "expanded",
      includePaths: "./node_modules",
    }))
    .on("error", sass.logError)
    .pipe(autoprefixer({
      browsers: ['last 2 versions'],
      cascade: false
    }))
    .pipe(header(banner, {
      pkg: pkg
    }))
    .pipe(gulp.dest("./css"))
    .pipe(rename({
      suffix: ".min"
    }))
    .pipe(cleanCSS())
    .pipe(gulp.dest("./css"))
    .pipe(browsersync.stream());
}
function css ( ) { return gulp . src ( "./scss/**/*.scss" ) . pipe ( plumber ( ) ) . pipe ( sass ( { outputStyle : "expanded" , includePaths : "./node_modules" , } ) ) . on ( "error" , sass . logError ) . pipe ( autoprefixer ( { browsers : [ 'last 2 versions' ] , cascade : false } ) ) . pipe ( header ( banner , { pkg : pkg } ) ) . pipe ( gulp . dest ( "./css" ) ) . pipe ( rename ( { suffix : ".min" } ) ) . pipe ( cleanCSS ( ) ) . pipe ( gulp . dest ( "./css" ) ) . pipe ( browsersync . stream ( ) ) ; }
CSS task
CSS task
CSS - > css