I have a very bad problem in my web projects, I do not work with environments, I wanted my application to have different configuration types according to the environment, for example: in the DEV environment my application accesses a server and in the PROD environment it accesses another. For this I would have to have a task in Grunt that would change variables in my script when deploying, does anyone know how to do this?
This is my Gruntfile