S
S
Stepan2021-01-09 23:53:34
Burglary protection
Stepan, 2021-01-09 23:53:34

How to hide project sources in React JS?

When building a project, if you go to the site and open Sources, you can find all the project sources. How can I hide this? Is there some kind of busifier?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav, 2021-01-10
@Stepashka20

Create a file of environment variables .env at the root at the package.json level and write in it the line for disabling the rendering of the application structure . GENERATE_SOURCEMAP=false

X
xmoonlight, 2021-01-10
@xmoonlight

In Google:reactjs github obfuscator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question