klei / gulp-inject

A javascript, stylesheet and webcomponent injection plugin for Gulp
MIT License
812 stars 93 forks source link

Injecting into *.pug fies doesn't work while does for *.jade #191

Open frague opened 8 years ago

frague commented 8 years ago

It looks like those are not detected by the file extension and considered as default htmls, since if I use e.g. injection happens in html format.

lbenie commented 8 years ago

same problem couldn't inject into pug but it worked into the compiled html file

justlp commented 6 years ago

try //- {{name}}:{{ext}} (https://github.com/klei/gulp-inject/pull/185/commits/49cbd8996a9f15ef95966790e6e5d21d14dfabce) For example, //- inject:css //- endinject