I have a directory full of less css files. What is the best way to compile them to normal css? (for deployment)
Id like to run a command as follows:
Here is the ideal solution.
Step 1: Create a new .less file that contains an @import statement for each of your existing .less files.
find less_directory/ -name '*.less' -exec echo "@import \"{}\";" \; > combined.less
Step 2: Compile the combined .less file.
lessc combined.less > compiled.css