gulpfile.js
// Compile scss into css/ add vendor prefixes/ compress css
Compile scss into css/ add vendor prefixes/ compress css
Compile scss into css / add vendor prefixes / compress css
function style() {
    return gulp
        .src('app/scss/**/*.scss')
        .pipe(sourcemaps.init())
        .pipe(sass())
        .on('error', sass.logError)
        .pipe(postcss([autoprefixer(), cssnano()]))
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest('dist/css'))
        .pipe(browserSync.stream());
}
function style ( ) { return gulp . src ( 'app/scss/**/*.scss' ) . pipe ( sourcemaps . init ( ) ) . pipe ( sass ( ) ) . on ( 'error' , sass . logError ) . pipe ( postcss ( [ autoprefixer ( ) , cssnano ( ) ] ) ) . pipe ( sourcemaps . write ( '.' ) ) . pipe ( gulp . dest ( 'dist/css' ) ) . pipe ( browserSync . stream ( ) ) ; }
Compile scss into css/ add vendor prefixes/ compress css
Compile scss into css / add vendor prefixes / compress css