Closed serginator closed 10 years ago
+1
@jsoverson have you tried to port this to grunt itself as we talked in Twitter? If not, I still think should be useful to have it merged here at least :smile:
No, grunt would be further down the line. I'll try to get to merging this here soon so that the functionality at least exists for those who need it.
Ok. Thanks! Currently I have all my Gruntfiles with that anonymous function and it's ugly hehe.
Still don't see this useful @jsoverson?
Merged this a whopping year later. Thanks @serginator
Hahaha, better late than never @jsoverson ;)
Added an option
excludeFromFile
, which will look inside a file and make a regexp with what's inside that file to add it as the export option.For example, from a file with this content::.
It will convert it to:
And pass it as the
exclude
option.