Skip to content

Commit

Permalink
Merge pull request #1 from campsjos/patch-1
Browse files Browse the repository at this point in the history
Prevent break of gulp task on SASS errors
  • Loading branch information
rkgttr authored Feb 9, 2017
2 parents fdde378 + 580cf48 commit 8deaa45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/app/templates/gulp/tasks/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import config from '../config';
gulp.task( 'styles', ()=> {
return gulp.src( './src/scss/main.scss' )
.pipe(plumber())
.pipe( sass() )
.pipe( sass.sync() )
.pipe( cmq() )
.pipe( autoprefixer( 'last 2 versions', 'ie9' ) )
.pipe( rename( 'styles.min.css' ) )
.pipe( csso() )
.pipe(header(config.banner))
.pipe( gulp.dest( `${config.build}/css` ) )
.pipe( bs.stream() );
} );
} );

0 comments on commit 8deaa45

Please sign in to comment.