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

gulpfile.js « gulp « scss « examples - github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 62782e9749ec8795b3f79ec6c48d62ee235df4a7 (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']);
});