I'm not sure how, but we end up with React2 etc... https://www.npmjs.com/package/react-oidc-context?activeTab=code
I've looked at esbuild and he build script and I can't figure out what's wrong...
But it causes issues when this package is re-bundled in other apps.