Cómo hacer que el archivo fuente de mi sitio web no sea accesible en Inspectot

// create a .env file in the root directory of your project and past the following code in it:
GENERATE_SOURCEMAP=false
// That did it for me!
// I did this in a 'create-react-app' project
Code Rabbi