Monday, 3 April 2017

Node - set angular-cli environment

I'm deploying my angular-cli app through node. Rather than ng serve --prod, I use npm start.

Is there any way to achieve the --environment=prod setting from npm so that it will use environment.prod.ts instead of environment.ts?



via Troels Larsen

No comments:

Post a Comment