Closed inomdzhon closed 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/')
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.
Sorry, it's not gulp-twig plugin problem. Hah!
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.