i tried to import Msal into a reactjs app. As the app is create by create-react-app we have no webpack loader in the project itself. I can not get a reference to Msal. tried:
var Msal = require('msal/out/msal.js');
var Msal = require('msal');
import Msal from 'msal';
import {Msal} from 'msal';
There is always an empty Msal without the constructor for creating the connector.
var userAgentApplication = new **Msal**.UserAgentApplication("your_client_id", null, function (errorDes, token, error, tokenType) {
// this callback is called after loginRedirect OR acquireTokenRedirect (not used for loginPopup/aquireTokenPopup)
})