Skip to content

Passing external variables #1590

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
jsrkstr opened this issue Oct 10, 2013 · 2 comments
Closed

Passing external variables #1590

jsrkstr opened this issue Oct 10, 2013 · 2 comments

Comments

@jsrkstr
Copy link

jsrkstr commented Oct 10, 2013

Hello, Is there any way to pass external variable like environment into less.

@lukeapage
Copy link
Member

less - yes - undocumented - but 2nd argument of toCSS - https://github.com/less/less.js/blob/master/lib/less/parser.js#L418
the command line - no - #731

@jsrkstr
Copy link
Author

jsrkstr commented Oct 11, 2013

Thanks for your help!

@jsrkstr jsrkstr closed this as completed Oct 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants