[] lets you use round
, rem
and mod
stepped value functions, following the [CSS Values 4] specification.
<example.css>
/* becomes */
<example.expect.css>
Given the dynamic nature of custom properties it's impossible to know what the variable value is, which means the plugin can't compute a final value for the stylesheet.
Because of that, any usage that contains a var
is skipped.
The preserve
option determines whether the original notation
is preserved. By default, it is not preserved.
<exportName>({ preserve: true })
<example.css>
/* becomes */
<example.preserve-true.expect.css>