-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom visitor transformation doesn't get minified #554
Comments
Btw, I found another issue related to the value replacement, please check this example. Maybe it's not a bug, but may incorrect understanding of how the transformation should work... |
calc simplification happens during the initial parse phase, which is before custom visitors run. Currently there is not an additional simplification pass done after transforms, resulting in the output you see here. |
Thanks @devongovett! |
I ran into that second bug as well. I've created an issue here: #579 |
Hi,
First of all, thank you for the amazing tool!
During my attempt to implement a customer visitor to inline "static" CSS variables, similar to the behaviour of postcss-custom-properties plugin, I found that the result of custom visitor doesn't get minified correctly:
Input
Actual output
Expected output
Playground link
The text was updated successfully, but these errors were encountered: