Created by: candrews
console messages (such as console.log
) should not be included in the production build.
This change has been requested previously: https://github.com/facebook/create-react-app/issues/1491 It's discussed in a number of times on stackoverflow, including at: https://stackoverflow.com/questions/56276325/how-can-remove-console-log-in-the-production-build-of-a-react-application-create/ https://stackoverflow.com/questions/47839311/removing-log-statements-in-create-react-app-without-ejecting