1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-26 04:28:07 +09:00
hotomoe/src/client/docs/gulpfile.ts
2018-07-06 12:17:38 +09:00

19 lines
342 B
TypeScript

/**
* Gulp tasks
*/
import * as gulp from 'gulp';
const stylus = require('gulp-stylus');
const cssnano = require('gulp-cssnano');
gulp.task('doc', [
'doc:styles'
]);
gulp.task('doc:styles', () =>
gulp.src('./src/client/docs/**/*.styl')
.pipe(stylus())
.pipe((cssnano as any)())
.pipe(gulp.dest('./built/client/docs/assets/'))
);