<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">The proposal instructions on the nginx website state that it is for bug fixes and so it seems that would be the wrong place to put a proposal. I can do so and cross reference.</div><div dir="ltr"><br></div><div dir="ltr">To be clear; whatwg is using it in their specifications without any Node usage implied; if files are produced with that file extension by copy and pasting the specification examples (such as those in <a href="https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-module-system">HTML Standard (whatwg.org)</a>), they would fail on nginx. There is also an IETF MIME update that should finally be published soon: <a href="https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/">draft-ietf-dispatch-javascript-mjs-09 - ECMAScript Media Types Updates</a> . If the goal is not to be compatible, but only to apply to file extensions after they are popular, that seems a bit odd to me at least since it means knowing that upcoming things are potentially incompatible and willfully not preparing until after the problems occur.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 13, 2021 at 12:36 PM Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
On Mon, Jul 12, 2021 at 09:24:49AM -0500, Bradley Farias wrote:<br>
<br>
> See Add .mjs file extension to known JS mime types by bmeck · Pull Request<br>
> #71 · nginx/nginx (<a href="http://github.com" rel="noreferrer" target="_blank">github.com</a>) <<a href="https://github.com/nginx/nginx/pull/71" rel="noreferrer" target="_blank">https://github.com/nginx/nginx/pull/71</a>> and<br>
> the related Use .mjs for modules more consistently by mathiasbynens · Pull<br>
> Request #3810 · whatwg/html (<a href="http://github.com" rel="noreferrer" target="_blank">github.com</a>)<br>
> <<a href="https://github.com/whatwg/html/pull/3810" rel="noreferrer" target="_blank">https://github.com/whatwg/html/pull/3810</a>><br>
<br>
Interestingly enough, the pull request in whatwg you are referencing <br>
claims that "on the web file extensions doesn't matter", yet your <br>
suggested change means exactly the opposite.<br>
<br>
For a mime.types change you think is needed, consider opening a <br>
ticket on <a href="http://trac.nginx.org" rel="noreferrer" target="_blank">trac.nginx.org</a>.  If/when there is a consensus that the <br>
change is needed, the change will be committed.  For now the mjs <br>
extension does not seem to be widely used except by Node.js.<br>
<br>
-- <br>
Maxim Dounin<br>
<a href="http://mdounin.ru/" rel="noreferrer" target="_blank">http://mdounin.ru/</a><br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></blockquote></div></div>