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

gulpfile.js « stylus « examples - github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: abde6d4a23cc1a7e949e8e614873b5b238c0e75d (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('default', () => {
  return gulp.src('./src/**/*.styl')
    .pipe(stylus())
    .pipe(gulp.dest('./dest'));
});

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