Skip to content

Commit 678ea10

Browse files
committed
Sass Expand Option
1 parent 573e9d7 commit 678ea10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ gulp.task('browser-sync', function() {
4848

4949
gulp.task('sass', function() {
5050
return gulp.src('app/sass/**/*.sass')
51-
.pipe(sass().on("error", notify.onError()))
51+
.pipe(sass({outputStyle: 'expand'}).on("error", notify.onError()))
5252
.pipe(rename({suffix: '.min', prefix : ''}))
5353
.pipe(autoprefixer(['last 15 versions']))
54-
.pipe(cleanCSS())
54+
.pipe(cleanCSS()) // Опционально, закомментировать при отладке
5555
.pipe(gulp.dest('app/css'))
5656
.pipe(browserSync.reload({stream: true}));
5757
});

0 commit comments

Comments
 (0)