Skip to content

Conversation

@sfc-gh-rsavenok
Copy link
Collaborator

@sfc-gh-rsavenok sfc-gh-rsavenok commented Feb 9, 2026

Description

When the code is bundled with tools like esbuild or bun, oauth4webapi isn't included and causes a runtime error because of dynamicImportESMInTypescriptWithCommonJS hack

We don't really need to force CommonJS, since Node 16 resolves modules the same way our driver used to before the TypeScript migration (common.js when needed)

Checklist

  • Create tests which fail without the change (if possible)
  • Make all tests (unit and integration) pass (npm run test:unit and npm run test:integration)
  • Extend the types in index.d.ts file (if necessary)
  • Extend the README / documentation and ensure is properly displayed (if necessary)
  • Provide JIRA issue id (if possible) or GitHub issue id in commit message

@sfc-gh-rsavenok sfc-gh-rsavenok requested a review from a team as a code owner February 9, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants