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

Added changeExt option to avoid changing file extension to .html #14

Closed aneesv closed 8 years ago

aneesv commented 8 years ago

Added changeExt option to avoid changing file extension to .html (Advanced use cases) , changeExt defaults to true so normal cases will change ext to .html and for those who need can avoid changing extension

simon-dt commented 8 years ago

Nice! Could you please add a test and documentation in the readme for this?

I guess you can use the same logic as in the "should compile twig templates to html files" test but asset the file extension to be correct.