mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
|
var sass = require("gulp-sass");
|
||
|
var gulp = require("gulp");
|
||
|
var watch = require('gulp-watch');
|
||
|
|
||
|
gulp.task("scss", function () {
|
||
|
gulp.src("./scss/*.scss")
|
||
|
.pipe(sass().on('error', sass.logError))
|
||
|
.pipe(gulp.dest("./css"));
|
||
|
});
|
||
|
|
||
|
gulp.task('watch', ['scss'], function() {
|
||
|
gulp.watch('./scss/*.scss', ['scss']);
|
||
|
});
|
||
|
|
||
|
gulp.task('default', ['scss'], function() {
|
||
|
// noop
|
||
|
});
|