1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-26 20:48:13 +09:00
hotomoe/src/client/docs/gulpfile.ts

19 lines
342 B
TypeScript
Raw Normal View History

2017-12-15 06:41:57 +09:00
/**
* Gulp tasks
*/
import * as gulp from 'gulp';
2018-06-17 19:09:24 +09:00
const stylus = require('gulp-stylus');
const cssnano = require('gulp-cssnano');
2017-12-15 06:41:57 +09:00
gulp.task('doc', [
'doc:styles'
]);
gulp.task('doc:styles', () =>
2018-03-29 20:32:18 +09:00
gulp.src('./src/client/docs/**/*.styl')
2017-12-15 06:41:57 +09:00
.pipe(stylus())
.pipe((cssnano as any)())
2018-03-29 20:32:18 +09:00
.pipe(gulp.dest('./built/client/docs/assets/'))
2017-12-15 06:41:57 +09:00
);