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:
You can use the following bash one-liner to compile and all less files in a directory and its subdirectories into a single css file "combined.css":
$ find less_directory/ -name '*.less' -exec lessc {} \; > combined.css
Or minified for production:
$ find less_directory/ -name '*.less' -exec lessc -x {} \; > combined.css