// create a .env file in the root directory of your project and past the following code in it: GENERATE_SOURCEMAP=false // That did it for me! // I did this in a 'create-react-app' project