summaryrefslogtreecommitdiff
path: root/src/client/docs/gulpfile.ts
blob: 2a95dfbfeeff538ebb1ea2d382c29a5ca28324ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * 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/'))
);