Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hide the js code from source

// To hide your js source code from source panel of dev tools 
//while using create-react-app

//Create a .env file in the root folder
//and write the single line code
//(same folder with package.json)
GENERATE_SOURCEMAP=false
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #hide #js #code #source
ADD COMMENT
Topic
Name
1+9 =