Importing a file using “import(`./player/${file}`)” doesn’t result in the expected value
I have this piece of code which works on CommonJS but I want to switch my project over to ES6 but I get the error that .bind isn’t a function, so I wonder if there is anyone who knows how I would switch this over. for (const file of player) { const event = import(`./player/${file}`);… Read More Importing a file using “import(`./player/${file}`)” doesn’t result in the expected value