You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@aminya You're using the API correctly. You've encountered a bug when importing via ES6 modules (instead of CommonJS). Fixing now, thanks for reporting.
I am trying to use Less in a programmatic fashion inside node, but I get this error:
what am I doing wrong? The documentation is vaguely written, and there is no tutorial on how to import the library and its functions. It also says API coming soon!
http://lesscss.org/usage/#programmatic-usage
Also, a couple of links don't work for example: https://github.com/less/less.js/blob/master/lib/less/environment/environment-api.js
Note: the code is written for less 2 inside Node, and I am trying to update it.
The text was updated successfully, but these errors were encountered: