Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gulpfile.js « gulp « sass « examples - github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 62c60de0286c997915c191490031a42ec2055905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict';

const gulp = require('gulp'),
 sass = require('gulp-sass');

gulp.task('build', function () {
  return gulp.src('./src/**/*.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe(gulp.dest('./dest'));
});

gulp.task('watch', function () {
  gulp.watch('./src/**/*.scss', ['build']);
});