-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Conversation
887fb07
to
baf0509
Compare
@@ -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:../.." |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this 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 :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Revert IE11 angular fix for main export in #785
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 undermodule
(which matches the mainmsal
package).Before:
After: