Open mherger opened 6 years ago
You just need this two:
<script src="app/aws-cognito-sdk.js"></script>
<script src="app/amazon-cognito-auth.js"></script>
This library is not mature enough to call it "module-safe", so I would recommend to go for the global approach instead of wasting endless hours like myself!
@mherger Basically you only need to include "aws-cognito-sdk.min.js" once when you use amazon-cognito-identity-js as well as amazon-cognito-auth-js. For example:
If I want to use amazon-cognito-identity-js as well as amazon-cognito-auth-js, then this plan fails because the two aws-cognito-sdk.min.js are not compatible with each other.