diff --git a/generators/app/templates/gulp/tasks/sass.js b/generators/app/templates/gulp/tasks/sass.js index 4078cc2..c2ca78c 100644 --- a/generators/app/templates/gulp/tasks/sass.js +++ b/generators/app/templates/gulp/tasks/sass.js @@ -13,7 +13,7 @@ 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' ) ) @@ -21,4 +21,4 @@ gulp.task( 'styles', ()=> { .pipe(header(config.banner)) .pipe( gulp.dest( `${config.build}/css` ) ) .pipe( bs.stream() ); -} ); \ No newline at end of file +} );