I have a config.json file for my project, in this file, I can change how my JS work.
For example, I can disable logging errors, but when I use Gulp to run tasks it just gives me a file based on the current config that is set.
I need these configs to be dynamic, for example, when I run a task I need to have two files, one file with the error logging feature and another without. I think it is doable if Gulp change that config file just for the current task one time with true and another with false config.
I don't know if it is the best way to do this if you had a better idea please share it with me.