-
Notifications
You must be signed in to change notification settings - Fork 386
Open
Labels
bugBugBug
Description
Describe the bug
When importing the SDK into a webpack 5 application there are underlying libraries that are no longer included as standard (for browser) which need require modifying the links to the libraries.
Is this expected?
libraries affected:
- crypto
- os
- querystring
- stream
- vm
To Reproduce
Steps to reproduce the behavior:
npx create-react-app webex-test --template typescriptcd webex-testnpm install --save webex- Add
<script crossorigin src="https://unpkg.com/webex/umd/webex.min.js"></script>toindex.html - Add
const Webex = require("webex");toApp.tsx npm start
Expected behavior
SDK to import the underlying libraries it requires.
Workaround
Installing a browser version of the library and then "linking" it in the package.json seems to solve these issues.
see this example app https://github.com/tomBarkerSwitchTelecom/webex-test.
Platform (please complete the following information):
- OS: [iOS]
- Browser [chrome]
- Version [3.4.0]
- Device Type [Desktop]
Additional context
Metadata
Metadata
Assignees
Labels
bugBugBug
