diff options
Diffstat (limited to 'examples/stylus/gulpfile.js')
-rw-r--r-- | examples/stylus/gulpfile.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/stylus/gulpfile.js b/examples/stylus/gulpfile.js new file mode 100644 index 0000000..abde6d4 --- /dev/null +++ b/examples/stylus/gulpfile.js @@ -0,0 +1,14 @@ +'use strict'; + +const gulp = require('gulp'); +const stylus = require('gulp-stylus'); + +gulp.task('default', () => { + return gulp.src('./src/**/*.styl') + .pipe(stylus()) + .pipe(gulp.dest('./dest')); +}); + +gulp.task('watch', () => { + gulp.watch('./src/**/*.styl', ['build']); +}); |