Closed Siddhant-K-code closed 2 years ago
Our Source Code of WebApp: https://wallet.treetracker.org/ is visible to all the users.
It happens because of using creat-react-app as default settings. Also, due to this node_modules are getting deployed to the Production build.
This Can be fixed by updating scripts:
"build": "GENERATE_SOURCEMAP=false react-scripts build"
Open Developer Tools in https://wallet.treetracker.org/, Go To Source.
Sourcemap shouldn't be there
Describe the bug
Our Source Code of WebApp: https://wallet.treetracker.org/ is visible to all the users.
It happens because of using creat-react-app as default settings. Also, due to this node_modules are getting deployed to the Production build.
This Can be fixed by updating scripts:
To Reproduce
Open Developer Tools in https://wallet.treetracker.org/, Go To Source.
Expected behavior
Sourcemap shouldn't be there
Desktop: