AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

Optimize for better minification #925

Closed rbrundritt closed 3 years ago

rbrundritt commented 3 years ago

I noticed that this library was fairly large. When looking through the source code I noticed there is a lot of room for optimizations that will help with the minification process. A couple of tips:

I'm sure there are some additional optimizations that can be made to help reduce the file size. I wouldn't be surprised if this could the file size could be cut by 30% or more.

jasonnutter commented 3 years ago

@rbrundritt Thanks for the feedback. Given ADAL.js is no longer under active development, we won't be prioritizing enhancements like this. We highly suggest apps to move to MSAL.js: https://www.npmjs.com/package/@azure/msal-browser