How to hide source code of folder and files. React & Ngnix

I have a React project, when I open the site and run the developer tool, all users can see my files, how can I hide this? GENERATE_SOURCEMAP=false does not help.

Who knows the solution please help
I use a virtual Ubuntu server, Node version 22.2, Nginx.

Img