.mjs can cause content-type issues on servers not configured for it. see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aside_%E2%80%94_.mjs_versus_.js so for the web distributions it would be better to have a .js extension
.mjs can cause content-type issues on servers not configured for it. see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aside_%E2%80%94_.mjs_versus_.js so for the web distributions it would be better to have a .js extension