From 7cb9a15ba2c586be9aaf69b18dd472e4592cd5be Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 24 Feb 2017 18:50:58 +0800 Subject: CHG: Fix GItHub site CSS --- gulpfile.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index a084646..798ced7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -27,18 +27,12 @@ gulp.task('build', function() { }); gulp.task('docs', function() { - gulp.src('docs/**/*.less') + gulp.src(['./docs/css/*.less', './*.less']) .pipe(less({ plugins: [autoprefix] })) .pipe(csscomb()) - .pipe(cleancss()) - .pipe(rename({ - suffix: '.min' - })) - .pipe(gulp.dest(function(file) { - return file.base; - })) + .pipe(gulp.dest('./docs/css')) }); gulp.task('default', ['build']); -- cgit v1.3.1-26-gb76a