It doesn't look like this task is needed.

doesn't look like "dist/aerogear.js" ever gets "sourceMappingURL" written to it,  so no need to run the replace