Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 853aaca

Browse files
author
Nick Litwin
committedJun 29, 2015
Remove optimized css from build folder when cleaning
1 parent 67e6b83 commit 853aaca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎gulpfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gulp.task('styles', ['clean-styles'], function() {
3636
log('Compiling Sass --> CSS');
3737

3838
return gulp
39-
.src(config.sass)
39+
.src(config.sass, {base: './'})
4040
.pipe($.plumber())
4141
.pipe($.sass())
4242
.pipe($.autoprefixer({browsers: ['last 2 version']}))
@@ -85,7 +85,8 @@ gulp.task('clean-code', function(done) {
8585
var files = [].concat(
8686
config.temp + '**/*.js',
8787
config.build + '**/*.html',
88-
config.build + 'js/**/*.js'
88+
config.build + 'js/**/*.js',
89+
config.build + 'styles/**/*.css'
8990
);
9091
clean(files, done);
9192
});

0 commit comments

Comments
 (0)
This repository has been archived.