Expand my Community achievements bar.

AEM 6.4 SPA with Angular | Run mode specific environment.ts

Avatar

Level 6

Hi All,

I have to read environment.ts based on run mode. For example in dev i have environment.dev.ts, in QA i have environment.qa.ts, in uat i have environment.uat.ts files.

When starting AEM let's say in dev run mode then environment.dev.ts should read similarly for other run mode respective file to be read.

At present it always read environment.ts file only.

Please advise how to achieve it. Any help is highly appreciated.

Thanks,

Pradeep

0 Replies