This repository has been archived by the owner on Dec 30, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "includePath" option to enable LESS parser to look in more places.
Usage: project/ my_less.less ('@import "import.less";) imports/ import.less ('b { color: gold; ') Then, recess --includePath=imports --compile my_less.less And the import diretive in my_less.less will find import.less automatically. Very useful when working with Bootstrap, since you can add Bootstrap's less/ directory to `includePath` and only override the parts you want to change (LESS still looks in the "input" directory first). More than one directory can be specified: recess --includePath=imports --includePath=exports my_less.less Or, in `.recessrc`: { 'includePath': ['imports', 'exports'] }
- Loading branch information
Victor Andrée
committed
Dec 12, 2012
1 parent
6e29eb9
commit 291657c
Showing
4 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters