Hide sourcemap for apps deployed on netlify
Jul 04 2021
Web DevelopmentNetlifyBy default, when we deploy our websites to netlify or similar platforms, the source code can be seen in the sources tab of devtools.
If you want to hide it from the users, you can do that by adding a flag to .env file in the project root:
GENERATE_SOURCEMAP=false