Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make my website source file not accessible in 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
 
PREVIOUS NEXT
Tagged: #website #source #file #accessible #inspectot
ADD COMMENT
Topic
Name
5+5 =