Skip to content
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

Remove dependency on postcss-functions #4317

Merged
merged 3 commits into from
May 11, 2021
Merged

Conversation

adamwathan
Copy link
Member

This PR removes our dependency on postcss-functions by implementing the logic we need ourselves. The primary motivation for this is to be able to throw errors from the relevant node, instead of having to throw them from the root. Using postcss-functions we had no way to access the actual node where the function was being called to throw a helpful error, but by implementing it ourselves we can make sure to keep a reference to the node and make it available to the actual function.

@adamwathan adamwathan force-pushed the inline-postcss-functions branch 4 times, most recently from 72634f9 to b2ac4ed Compare May 11, 2021 18:18
@adamwathan adamwathan merged commit 5ebe5e8 into master May 11, 2021
@adamwathan adamwathan deleted the inline-postcss-functions branch May 11, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant