I was researching how to create a Gulp file that understands how to differentiate when it is for production and when it is for development. I found the plugin below, and would you like to know if this is the ideal way to do this differentiation today?
In my search, I found this link below, but since it was created in 2014, do I believe that this form is out of date or am I wrong? It's a little bit like the plugin above, because it creates two addresses before.
And if there is any treatment or other plugin that I can use in this doubt?