Advertisement
Guest User

Untitled

a guest
Dec 17th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // Sass compilation
  2. gulp.task('sass', function() {
  3. gulp.src('source/scss/*.scss')
  4. .pipe(sass().on('error', gutil.log))
  5. .pipe(prefixer('last 10 versions'))
  6. .pipe(gulp.dest('public/css')) // Output non-min version
  7. .pipe(minifycss())
  8. .pipe(rename({suffix:'.min'}))
  9. .pipe(gulp.dest('public/css'))
  10. .pipe(livereload(server));
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement