-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Milestone
Description
.mjs ECMA Script Module files are served with application/octet-stream MIME Type
instead of text/javascript, so the modules do not get imported in Chrome because of this error:
:8080/counter.mjs:1 Failed to load module script: The server responded with a non-JavaScript MIME > type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.
Can you serve these files with the correct mime type please? Sounds like a pretty minor change :)
Stuk, yurynix and SebastianSimon
Metadata
Metadata
Assignees
Labels
No labels