Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //scss / autoprefixer
  2. gulp.task('scss', function(){
  3.     gulp.src(paths.styles.src)
  4.         .pipe(sass())
  5.         .pipe(rename('all.css'))
  6.         .pipe(gulp.dest(paths.styles.dest));
  7. });
  8. gulp.task('autoprefixer', function(){
  9.     gulp.src(paths.styles.dest + 'all.css')
  10.         .pipe(autoprefixer({
  11.             browsers: ['last 2 versions']
  12.         }))
  13.         .pipe(gulp.dest(paths.styles.dest));
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement