react hide source code
in package.json file as follows.
add GENERATE_SOURCEMAP=false to build
scripts: {
"build": "GENERATE_SOURCEMAP=false react-scripts build"
}
react hide source code
in package.json file as follows.
add GENERATE_SOURCEMAP=false to build
scripts: {
"build": "GENERATE_SOURCEMAP=false react-scripts build"
}
how to hide source for react project
"build": "GENERATE_SOURCEMAP=false react-scripts build",
"winBuild": "set \"GENERATE_SOURCEMAP=false\" && react-scripts build",
Use npm run build for creating build on Linux.
Use npm run winBuild for creating build on Windows.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us