build react app hide the code code example
Example: react hide source code
in package.json file as follows.
add GENERATE_SOURCEMAP=false to build
scripts: {
"build": "GENERATE_SOURCEMAP=false react-scripts build"
}
in package.json file as follows.
add GENERATE_SOURCEMAP=false to build
scripts: {
"build": "GENERATE_SOURCEMAP=false react-scripts build"
}