berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

Exclude Partials ? #33

Open ghost opened 11 years ago

ghost commented 11 years ago

Would it be possible to have a setting which allows the build task to exclude compiling less files into css if a certain criteria is met?

For example, I have a less folder with a partials folder. I don't want the partials folder to be compiled and have a partials folder end up in my css folder with the _partials.css. Being able to exclude by folder name or by prefix would be nice..

- less
---- style.less
---- partials
-------- _partial.less

Thank

javiersanta commented 11 years ago

You can use "Sublime on Save Build" and create a regex to filter that