Trying to use Msal.js

Hello,

I’m trying to use Msal.js in my meteor application (with vue) but i get an error :

Uncaught TypeError: module.runSetters is not a function

I’m pretty sure it’s the import that is at fault here :

<script>



const msalConfig = {
  auth: {
    clientId: 'clientId', 
    authority: 'https://login.microsoftonline.com/tenantId'
  }
};
import {PublicClientApplication} from "@azure/msal-browser"
const msalInstance = new PublicClientApplication(msalConfig);
import {Meteor} from 'meteor/meteor'
export default {

Can anyone help with this?

Thanks

This is most likely a bug in Meteor. Could you please create a reproduction?