Configure and build Angular application for different environments

Balram Chavan
Jan 25 · 2 min read

Production mode:

What about custom environment modes?

Create a custom environment target

Custom environment file

Custom environment settings

Use environment settings inside components

Update angular.json configuration

Build application for custom environment

GitHub example:

Balram Chavan

Written by

Full Stack Developer, GitHub Developer Program Member, Angular enthusiast! https://www.linkedin.com/in/balram-chavan

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade