angularjs - How to build staging env constants using grunt-ng-constant? -


i trying inject environtment constants yo angular generated angular application using grunt-ng-constant. apart development , production, have 1 more environment called 'staging' host built dist folder.

from followed on of blogs, run ngconstant:development while running grunt serve , ngconstant:production while doing grunt build. so, there way differentiate production env staging while running build. can pass arguments task?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -