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

Unexpected compiled files #29

Closed inomdzhon closed 8 years ago

inomdzhon commented 8 years ago

I faced with the one problem. I organazied my project three folder, for example like this:

Configurated my gulp task: gulp.src(['templates/blocks/**/*.twig', 'templates/pages/*.twig', 'templates/styleguide/*.twig']) .pipe( gulp-twig() ) gulp.dest('public_html/static/')

I thought it compiling to same folder, like:

But got:

How can I config my task for this correct work?

Now I had to do three seperate tasks instead. For folder "blocks", "pages", "stylegiude". It's work, but not clear solution.

Thanks.

inomdzhon commented 8 years ago

Sorry, it's not gulp-twig plugin problem. Hah!