Created by: dallonf
Currently, useESModules only affects @babel/plugin-transform-runtime (so the compiled code does not reference ESM versions of @babel/runtime). This is somewhat misleading, since the resulting code will still contain ES Module syntax if the source uses it.
With this update, useESModule: false really means that the resulting code will not contain ES Module syntax.
I tested this locally in my company's fork of create-react-app.