klei/gulp-inject

Ignore injection option in target file

neins opened this issue · 0 comments

neins commented

I have target HTMLs - index.html, portfolio.html, about.html, in these files i inject .css and .js files.
It is possible to inject, for example, plugin1.js only in index.html and portfolio.html, but not in about.html? I mean, may i create a marker (filepath?) in inject block inside of any html file that doesn't need to inject plugin1.js? But i don't need to specify certain html paths in gulp task, i would like to know how to make a universal marker for html, thanks!