simon-dt / gulp-twig

Twig plugin for gulp.js, The streaming build system. Looking for maintainer or collaborators. See wiki
https://github.com/zimmen/gulp-twig/wiki/Looking-for-maintainer-or-collaborator(s)
MIT License
62 stars 33 forks source link

Add extname option #38

Closed bezoerb closed 7 years ago

ghost commented 7 years ago

I'm not really sure we need this feature in gulp-twig? I prefer to use gulp-rename in such rare cases since it offers even more features. How do you guys think?

bezoerb commented 7 years ago

i think we should not enforce another dependency to choose the extname of the output we're creating.

bezoerb commented 7 years ago

And this is already flagged as next.feature

ghost commented 7 years ago

Well, it's really just a small change. Why not :) I've noticed gulp-nunjucks-render has such a option too. It would be nice if it's possible to omit the extension completely, with gulp-nunjucks-render its possible when you pass a empty string or null.

ghost commented 7 years ago

Thanks, looks fine now. I gonna test & merge it this weekend.

bezoerb commented 7 years ago

\o/