Open Psoz opened 5 years ago
Comments are tricky business, as there is no explicit direction within the CSS specifications on how they should be meaningfully tokenized.
However, I am testing a solution that give you what you need. Hopefully, the test will be conservative enough to protect the efficiency of the plugin.
I'm having an issue related to comments that are deleted when those are typed right after the property.
In my case, I need to use comments in order to use some RTLCSS features.
Expected Output:
Actual Output:
Related issue: https://github.com/postcss/postcss-custom-properties/issues/86 Related Test: https://github.com/jonathantneal/postcss-tests/tree/master/postcss-custom-properties-test-00
Thanks for your amazing work with this awesome plugin.
Thanks in advance ;)