Add MIME-Type for extension "mjs" (JavaScript modules)
Currently files with extension "mjs" generate an error in console and do not work.
HTML-code:
<script type="module" src="file.mjs">
result in:
"Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec."
4
votes
Karl May
shared this idea
This is a valid request, so we'll look into it. There is no ETA at the moment, but we would really appreciate you voting for this request so that we can accurately assess its popularity relative to other features.
Thanks in advance!
--
IG