Answer the question
In order to leave comments, you need to log in
Webpack how to hide data after build?
Good afternoon. I assembled the project, all the logic lies in bundle.js, and I connect it on the client so that the application works. But the fact is that there are settings that require some modules (keys, passwords). Everyone can see them now, how this problem is solved?
Answer the question
In order to leave comments, you need to log in
I also alerted this moment at first, but after thinking, I came to the conclusion that this is not a problem))
look at firebase as a backend with an open api, where data is available only to authorized users.
implement security at the level of rights, you can’t hide the settings in any way.
No way. If some data is needed by the client in the browser to work, they are a priori available to anyone.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question