Reputation: 644
When developing an application I use gulp as my build tool. When I deploy I use Heroku which fires up my node server and sets an environment variable of production. Same when I set gulp to set a variable of development. My question is how can I use this node variable inside my angular application? I did try gulp-constants but that wont work when it is being deployed as gulp is never run when deployed only my node server.
Upvotes: 0
Views: 297
Reputation: 17940
You are confusing some terms:
Upvotes: 1