Created by: SimenB
This allows us to leave the import in the code, and webpack will still tree shake it out.
Verified by grepping for startReportingRuntimeErrors in the resulting bundle.
Note that this is usage outside of react-dev-utils.
Without this change, I need to use require and not import, and stick my require inside of an environment check.
Docs: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free