Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limiting scope of imports for microsoft-cognitiveservices-speech-sdk #2522

Merged
merged 3 commits into from
Oct 31, 2019

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Oct 31, 2019

Fixes #2521.

Changelog Entry

  • Fixes #2521. webchat-es5.js should not contains non-ES5 code and must be loadable by IE11, by @compulim in PR #2522

Description

When we import AudioConfig, Webpack is loading a non-ES5 build from /node_modules/microsoft-cognitiveservices-speech-sdk/distrib/es2015/src/sdk/Audio/AudioConfig. In fact, it should import from /distrib/lib/src/ instead.

Specific Changes

  • Limiting the scope of import to /distrib/lib/src/ for microsoft-cognitiveservices-speech-sdk

  • Testing Added

@coveralls
Copy link

Coverage Status

Coverage remained the same at 63.345% when pulling 46c31a4 on compulim:fix-2521 into 8d06a54 on microsoft:master.

@compulim compulim merged commit 8bde8d3 into microsoft:master Oct 31, 2019
@compulim compulim deleted the fix-2521 branch October 31, 2019 01:57
@compulim compulim mentioned this pull request Oct 31, 2019
55 tasks
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.

IE11: Build not working after importing microsoft-cognitiveservices-speech-sdk
3 participants