Skip to content

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

Merged
compulim merged 3 commits intomicrosoft:masterfrom
compulim:fix-2521
Oct 31, 2019
Merged

Limiting scope of imports for microsoft-cognitiveservices-speech-sdk#2522
compulim merged 3 commits intomicrosoft:masterfrom
compulim:fix-2521

Conversation

@compulim
Copy link
Copy Markdown
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
Copy Markdown

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