Answer the question
In order to leave comments, you need to log in
Gulp sass plugin, output indents in spaces in css file, how to adjust tab indents?
Now indented with spaces (2 spaces before each line), I would like tabs.
Tried all variants of outputStyle - expanded, nested, compact, compressed - this did not affect the indents.
I repeat, you need a tab before each new property and not spaces (4 spaces is also not suitable).
How to do it?
gulp.task('sass', function() {
return gulp.src('src/sass/**/*.+(sass|scss)')
.pipe(sass({outputStyle: 'expanded'}).on('error', sass.logError))
.pipe(gulp.dest('dist/css'))
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question