Is there a way to convert .mjs files to .js? Not all hosts support mjs files yet, so I’d like to convert mjs files to js files.
Background: Mozilla’s PDFjs updated their code to use JavaScript modules (mjs), however I’m wrapping PDFjs in a WordPress plugin, which means anyone can install it, but most hosts don’t support mjs files yet. Asking thousands of users to update their hosting to support .mjs files isn’t a great option either.