I know this is the main question, but I could not find the right answer.
Is there a way to save the list of project source files in a JSON file and upload it to gulpfile.js ? For example, instead of executing:
gulp.src(['a.js', 'b.js'])
Do something like:
var sources = some_load_file_func('sources.json'); gulp.src(sources.js_files))
json gulp
Tzach
source share