gulp-include-source
gulp-include-source copied to clipboard
Allow full glob filtering in the include
Currently the matching regular expression does not allow any inner parenthesis. By changing line 19 from return contents.match(/<!--\s+include:([a-z]+)\(([^)]+)\)\s+-->/); to 'return contents.match(//);' users can now add full glob filters.
Ex.
Currently this include will fail and be passed over because it has inner parenthesis.
<!-- include:js(app/*/**/+(*.module|module).js) -->