0

I need to build the same code and connect to different it to different firebase backends, I have to build it each time by changing the firebase credentials in the source files.

Is there a easy to achieve this ?

Utkarsh
  • 50
  • 8
  • 1
    Use environment variables. A .env file in development and real environment variables in production – Codebling May 07 '22 at 18:04
  • See the answer of the marked duplicate. I believe this is exactly what you are looking for. – Igor May 07 '22 at 18:11
  • No it is something different, although I found my answer [here](https://www.jvandemo.com/how-to-use-environment-variables-to-configure-your-angular-application-without-a-rebuild/) @Igor – Utkarsh May 07 '22 at 18:34

0 Answers0