The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I just migrated a huge project of mine to gulp and all went well, until I got to the gulp-twig plugin. The information on the plugin’s main npm page lacks explanation and I am struggling to get it to work with my project.
I managed to find only one tutorial on using gulp-twig , but it is compiling *.twig files for the build.
I need gulp-twig to compile my twig files into my root app directory for preview purposes on the local server. The tutorial only explains how to do this for the final build in /dist/.
Here is some code for reference: