On an Angular 7 application I have the following environment.prod.ts file:
export const environment = {
production: true,
apiBaseUri: 'https://api.xyz.com'
};
I need to publish the application in 2 different machines.
And I need, for each one, two configurations: Production and Staging.
So I need to have something like the following environment files:
environment.prod.machine-1.ts
environment.prod.machine-2.ts
environment.staging.machine-1.ts
environment.staging.machine-2.ts
How should I defined these environment files?
And how to build the application?