E
E
Elisey Basenko2017-10-12 23:57:35
gulp.js
Elisey Basenko, 2017-10-12 23:57:35

How to create a variable using GULP and insert its value into multiple project files?

There are many files and in different places of these files it is necessary to change some information.
It would be great to write the text into the gulpfile.js variable , then create a source folder with PHP files, in the markup of which , using some tag , indicate the places where the same variable from gulpfile.js will be written when compiling the project. In order to get resaved php files with changes already made in a different folder as a result. Tell me a method or plugin for Gulp , please, mb who knows. If it's not difficult, I'll be happy with an example in the form of code for gulpfile.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2017-10-13
@zooks

gulp-rigger

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question