Closed kkirsche closed 8 years ago
I'm reasonably sure you just have to specify compatibility: { properties: { zeroUnits: false } }
in the options
object, which then basically just gets passed on to clean-css.
I'm still having an issue with this, using compatibility: { properties: { zeroUnits: false } }
. compatibility: "*"
works, but it still removes units for zero values. I'm just not sure how to add that property.
If I force it:
'[+-]properties.zeroUnits' - turn on / off units removal after a 0 value
https://github.com/jakubpawlowicz/clean-css
X-Ref: twbs/bootstrap#18152 & twbs/bootstrap#18151