Detect production environment automatically in gulp