'How to use dotenv in react firebase?

I am trying to set some environment variables in react firebase config variables. But it does not work. Now I want to know how to do the work? Mainly I want the firebase config variable set in dotenv variable.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source