jwvdiermen/grunt-include-source

Exclude paths

Opened this issue · 1 comments

Is there any way to exclude some paths/files globally on the main config?
On the include part, we can do it by !dont-include/*.scss
But it could be beneficial to do it globally, for example to exclude .spec files, etc...

I think the issue is a simple trim command, by not using spaces I was able to get exclusion to work.

This fails:

<!-- include: "type": "js", "files": "**/*.js, !*Dev.js" -->

This works:

<!-- include: "type": "js", "files": "**/*.js,!*Dev.js" -->