I would like to prepare different versions of the software by passing special parameters in the gulp task.
I created tasks for css, js, etc. and made one to run everything:
gulp.task('compile', ['css', 'twig', 'js', ....]);
How to pass a parameter that will also be passed to subtasks? Is there any way to do this?
I would like to run, for example: gulp compile --mode A as well as gulp compile --mode B
Thanks in advance.
source share