Is there a method to change .mjs files to .js files? Some hosting services do not yet support mjs files, so I am interested in converting them to js files.
Context: Mozilla's PDFjs has incorporated JavaScript modules (mjs) into their code, but since I am integrating PDFjs into a WordPress plugin that can be installed by anyone, it poses a challenge as most hosting providers do not support mjs files. It is not feasible to expect thousands of users to update their hosting just to accommodate .mjs files.