A
A
Anton2017-07-26 15:07:51
css
Anton, 2017-07-26 15:07:51

How to format output css in gulp sass?

I searched, but did not find, what kind of thing will help me format the final css file as a single line and without spaces between the rules, i.e. without interline indentation in one line
02d02efacb5342fb99386fea11785d34.png
and not like this
53d3f5cab8dc4cde9df3a491f476be11.png
Now I use the standard Sasovsky .pipe(sass({outputStyle: 'compact'})), but these spaces between the lines are pretty annoying me.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
A person from Kazakhstan, 2019-02-20
@LenovoId

https://codepen.io/topicstarter/pen/pGBNwG the easiest way

D
Denis Z, 2019-02-21
@444Denis

flex
flexbox property guide to help you

A
Anton, 2017-07-26
@Eridani

Found a solution...
gulp-css-format
92888ba588cb46199f0247e6c334cab4.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question