Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Level 4

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