Currently the environment.ts file contains only environment:true for production and false for dev. I have some more config level variables like cdn path, server path and few others(30 more) which change based on application ENV. How should i make them available to all the components and services and the value of variables should change when the --prod is passed during build time. Instead of manually changing it.
I am using Ng-Cli@1.3.0 for build
EDIT: Is it safe to directly provide it in the environment file, is it available on client side for changing it?