postcss-calc
postcss-calc copied to clipboard
fix: remove comments before parsing calc value
Since 8.4.6, PostCSS stopped removing comments in declarations, because it sometimes produced the wrong CSS. postcss-calc can remove the comments safely because it only modifies the contents of function nodes.
For context, this is the discussion for the PostCSS change https://github.com/postcss/postcss/issues/1703