Does it support css variables?
tanekim88 opened this issue · 1 comments
tanekim88 commented
Does it support a case like this, with :root? I am getting an error when I do that.
:root {
--a: red;
}
.b{
color: var(--a);
}
.b{
color: var(--a);
}
ChristianMurphy commented
it does.
here is the test case that shows variables working.
postcss-combine-duplicated-selectors/test/duplicated-properties.js
Lines 115 to 133 in 38bd6f1
If you are encountering an error please share a runkit with an example of the issue https://npm.runkit.com