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

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

const gulp = require('gulp');
const stylus = require('gulp-stylus');

gulp.task('build', () => {
  return gulp.src('./src/**/*.styl')
    .pipe(stylus())
    .pipe(gulp.dest('./dest'));
});

gulp.task('watch', () => {
  gulp.watch('./src/**/*.styl', ['build']);
});