Skip to content

Conversation

@OEvgeny
Copy link

@OEvgeny OEvgeny commented Oct 23, 2024

Due to recent changes in botframework-webchat's export strategy, explicitly expose the WebChat module on the window object across all bundler configurations (CRA, webpack 4/5, esbuild) to maintain compatibility with external integrations.

Changes:

  • Import full WebChat module using import * as WebChat
  • Assign to window.WebChat for global access
  • Applied consistently across all bundler examples

This change ensures WebChat remains accessible for external scripts that depend on the global WebChat object.

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.

1 participant