iless icon indicating copy to clipboard operation
iless copied to clipboard

How to prevent 0.5 from being changed to .5

Open asiby opened this issue 3 years ago • 0 comments

The iLess library pre-processor is always removing the 0 before the decimal point.

I know that the final result is the same, but it does add a certain decibel to the commit messages as I am converting existing CSS files to less. I would be nice to have a configuration option that can control this behaviour.

Example:

Original code:

opacity: 0.01; 

Compile code:

opacity: .01;

Thanks.

asiby avatar Jun 06 '21 03:06 asiby