Fwd: Proposal: Add .mjs file extension to known to be JS

Maxim Dounin mdounin at mdounin.ru
Tue Jul 13 17:36:31 UTC 2021


Hello!

On Mon, Jul 12, 2021 at 09:24:49AM -0500, Bradley Farias wrote:

> See Add .mjs file extension to known JS mime types by bmeck · Pull Request
> #71 · nginx/nginx (github.com) <https://github.com/nginx/nginx/pull/71> and
> the related Use .mjs for modules more consistently by mathiasbynens · Pull
> Request #3810 · whatwg/html (github.com)
> <https://github.com/whatwg/html/pull/3810>

Interestingly enough, the pull request in whatwg you are referencing 
claims that "on the web file extensions doesn't matter", yet your 
suggested change means exactly the opposite.

For a mime.types change you think is needed, consider opening a 
ticket on trac.nginx.org.  If/when there is a consensus that the 
change is needed, the change will be committed.  For now the mjs 
extension does not seem to be widely used except by Node.js.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list