D
D
dom1n1k2015-12-31 02:38:26
Less
dom1n1k, 2015-12-31 02:38:26

How to replace spaces from spaces with tabs using Gulp?

The matter is that the Less compiler gives out result only in a variant "indents 2 spaces".
And from what I googled on SO, this can't be reconfigured and changed (correct me if I'm wrong).
I use tabs everywhere, and these spaces have been an eyesore for me for a very long time. But somehow the hands did not reach.
Well, December 31 came, it's time. But something immediately did not find a suitable plugin.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dom1n1k, 2016-01-07
@dom1n1k

I tried four plugins - the issue was resolved with the help of gulp-cssbeautify , although this is not its main task.

S
sim3x, 2015-12-31
@sim3x

You're doing it wrong
You don't need tabs
Use spaces everywhere

L
LMI, 2015-12-31
@LMI

As far as I understand, then you write Less on tabs, and the output css comes out with spaces? So this is normal, usually all files that go to production have "2 space indents", and dev files are written to anyone as convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question