Skip to content

Allow defining custom functions from outside the less files #3

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

Closed
slorber opened this issue Dec 3, 2015 · 2 comments
Closed

Allow defining custom functions from outside the less files #3

slorber opened this issue Dec 3, 2015 · 2 comments

Comments

@slorber
Copy link

slorber commented Dec 3, 2015

Hi,

This is related to less/less.js#2747

I'd like to be able to add custom functions for usage in mixin guards.

The thing is that I'm not really interested declaring these fonctions in Less syntax but just register some custom useful functions in my build process.

Is it possible to do?

@seven-phases-max
Copy link
Owner

Yes, you just write your own plugin. (There're actually two slightly different plugin formats currently - 1, 2).

@seven-phases-max
Copy link
Owner

Closing as out of the plugin scope.

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

No branches or pull requests

2 participants