less.js
less.js copied to clipboard
Import Javascript file to introduce functions to LESS compiler.
Let's say I have javascript functions that are long. Having them inline makes it:
- Horrible to read/debug
- Not reusable
Would it not be nice to be able to say:
@import "lesshelper.js"
and then LESS compilers load the file before compilation?
we have plans to address this.. though not in the way you describe.
instead we would specify "plugins" and functions to less.js and it would use those in order to pass the less. @matthewdl has been discussing it.
+1 for this
dupe of #129