Created by: jacob-j
Not sure why this was removed, but it is necessary for production when target is web, which uses JSONP for loading on-demand chunks, by adding script tags.
This has been in the codebase previously, but seems to be removed. Check the old PR here: https://github.com/facebook/create-react-app/pull/1181
Any reason why it got removed?
Normal script elements pass minimal information to the window.onerror for scripts which do not pass the standard CORS checks. To allow error logging for sites which use a separate domain for static media, use the crossorigin attribute. See CORS settings attributes for a more descriptive explanation of its valid arguments.