Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react hide source code

in package.json file as follows.
add GENERATE_SOURCEMAP=false to build

scripts: {
"build": "GENERATE_SOURCEMAP=false react-scripts build"
}
 
PREVIOUS NEXT
Tagged: #react #hide #source #code
ADD COMMENT
Topic
Name
9+6 =