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

Fix msal-angular exports to properly support IE11, fixes #765 #414 #785

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

jasonnutter
Copy link
Contributor

@jasonnutter jasonnutter commented Jun 24, 2019

The main export for the msal-angular library was the ES6 version of the library, which is not compatible with IE11 (I was able to reproduce this with the MSAL Angular sample). This updates the library's exports to properly export the CommonJS version of the library by default, with the ES6 version available under module (which matches the main msal package).

Before:

msal-angular-ie11-before

After:

msal-angular-ie11

@jasonnutter jasonnutter changed the title Fix msal-angular exports to properly support IE11, fixes #765 #411 Fix msal-angular exports to properly support IE11, fixes #765 #414 Jun 24, 2019
@jasonnutter jasonnutter added msal-angular Related to @azure/msal-angular package PR Ready labels Jun 24, 2019
@@ -24,7 +24,7 @@
"rxjs": "^5.1.0",
"ts-helpers": "^1.1.1",
"zone.js": "^0.8.4",
"@azure/msal-angular": "0.1.2"
"@azure/msal-angular": "file:../.."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this help with picking the latest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this will install the locally built version of the library, instead of what's published to npm.

Copy link
Contributor

@pkanher617 pkanher617 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sameerag sameerag requested review from nehaagrawal and removed request for nehaagrawal June 24, 2019 18:02
Copy link
Member

@sameerag sameerag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm too. This also helps folks trying to build angular locally :-)

Copy link
Contributor

@DarylThayil DarylThayil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-angular Related to @azure/msal-angular package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants