-
Notifications
You must be signed in to change notification settings - Fork 33
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
Rewrite #55
Rewrite #55
Conversation
This looks beautifully written. I am 💯 for it. Not sure if anyone else needs to approve, but lemme ping @ai. |
@jonathantneal I gave @andyjansson access to this repo |
Great! @andyjansson, how can I help you? |
Glad you like it :)
Well, it would be a great help if anyone were willing to give it a spin before it goes live. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
Just note, i i think will be great use |
Is this related to the tests + my version of node, or a third-party package issue, or something else? |
"postcss-selector-parser": "^2.2.2", | ||
"reduce-css-calc": "^2.0.0" | ||
"postcss-selector-parser": "^5.0.0-rc.3", | ||
"postcss-value-parser": "^3.3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use postcss-values-parser
? I’m trying to get folks to stick with one. AFAIK, it is more frequently updated and respects original whitespace intents better. It is not perfect either, though, so I would not be entirely opposed to sticking with postcss-value-parser
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¯\_(ツ)_/¯
I don't really use the parsing for anything else than picking out the calc
function. The rest of the parsing is handled internally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer not to switch to postss-values-parser
as it offers no real way of extracting the function for further parsing. It only supplies a bunch of fragments.
I saw this, too. I believe it's an issue with yarn, actually. It triggers even if you do something trivial, like |
Why?
The dependencies are poorly maintained and contains a lot of bugs. "Inhousing" the logic would allow us to better maintain the plugin and fix said bugs.
Internal changes
Outward-facing changes
*
and/
(cssnano#625)100%
incorrectly being transformed to1
(reduce-css-calc#44)