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

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stylus/gulpfile.js')
-rw-r--r--examples/stylus/gulpfile.js14
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']);
+});