Open lubomirblazekcz opened 2 years ago
Hmm. postcss-custom-properties doesn't seem to support Document node. https://postcss.org/api/#document To fix the problem, you should ask them to fix the postcss-custom-properties. However, document nodes are an experimental feature and maintainers may reject changes.
Ok, thanks for info. I've created an issue there. The workaround with <!-- postcss-disable -->
works too, so that resolves the issue for me now.
I have an issue with html parsing and postcss-custom-properties. I have the following code
And the problem is that custom properties are not converted corectly.
This should be result, but the css is not processed. It only works when I add
<!-- postcss-disable -->
before body or if I change the image to text inside the td.Am I missing something in config or is this a bug? Anyway for my usecase I can add the disable comment and that fixes my problem, but seems hacky.