-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allows root (non-value) functions in Less #2785
Conversation
Just as an aside, I discovered from this that creating Less nodes is HARD. That is, there is very little "auto-conversion" of strings to node types, and Less nodes are very granular. So there's certainly still room for improvement on the API side. |
…to root or ruleset
@seven-phases-max I probably went overkill on the number of tests I added, but I did one for every node type found in a ruleset root that should produce an error. Take a look and let me know if you think it's safe to merge. |
* master: Make sourcemap generation a bit faster
Allows root (non-value) functions in Less
This PR greatly increases the utility of
@plugin
in the following ways:I've added some additional tests demonstrating custom functions.