My react folder structure is as below
I\'ve not used the create-react-app version. I tried using GENERATE_SOURCEMAP=false. But It didn\'t work.
GENERATE_SOURCEMAP=false
You have to create a .env file in your root directory (same folder as package.json) and set GENERATE_SOURCEMAP=false on a single line.
.env
package.json
for additional configurations, you may refer to the documentation here: https://facebook.github.io/create-react-app/docs/advanced-configuration