简体   繁体   中英

AngularJs Environment variables in Heroku Pipeline

I'm traying to configure an AngularJs/NodeJs app in a Heroku Pipeline. What I understand of a every DevOps Pipeline, the goal is avoid recompiling the app in every stage. For the Node API the Heroku suggestion is pretty clear: config vars. But for the AngularJs client -obvisly, config vars are for server side scripts- I haven't found any suggestion or good practice. Also, I've searched into the deep internet and what I found is that there is not a common issue. I've found this well explained article and now I'm working on it, but what is hard to understand for me is: is not a common issue to avoid recompilation of Angular clients in stage-to production pipelines? Is there not a official proposal of AngularJs dev team to this situation?
My thougts are:
1- I'm misunderstanding something....or..
2- Promote to production Angular apps without recompiling is not a common issue.

Please, I'm new on Angular and I need some advice.
Thanks!

refer the angular version you are using

angular 4

angular 6

angular 2

Follow these methods as shows

there is no short summary or spinet to define process

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM