0

I tried to the security of the .env file in create react app since I am integrating firebase to my front end project the problems is when I run build I can still search the API keys that are stored in the .env file and thy are simply compiled in the main js file any idea what is wrong here is this the normal behavior or should I do something to prevent those key to show in the main code ?

{var u=a.value;s.addComponent(u)}}catch(l){A.e(l)}finally{A.f()}var c=new Oo(e,r,s);return Uo.set(i,c),c}({apiKey:"MYAPIKEY!!!!!!!!!!!!!!!"}),
Jackhammer
  • 744
  • 3
  • 10
  • 1
    Does this answer your question? [Is it safe to expose Firebase apiKey to the public?](https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public) – Kundan Mar 03 '22 at 01:32

0 Answers0