Summary Files Commits Branches @commit @diff @stats
path: root / gulpfile.js
diff options
context:
space:
mode:
1 files changed, 2 insertions, 8 deletions
-rw-r--r--gulpfile.js10
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']);