Skip to content

Conversation

@WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Sep 9, 2017

Right now these are served as application/octect-stream.

The latest mime module with latest mime-db thought would serve them as application/javascript.

This would enable direct index.mjs access without needing ?module or runtime transpilation.

Examples:
unpkg.com/hyperhtml@latest/index.mjs
unpkg.com/hyperhtml@latest/min.mjs

Please note GitHub is already serving the correct mime-type when it comes to .mjs files and, as ugly as a solution, I think unpkg should simply follow.

Thanks for updating this service.

Right now these are served as application/octect-stream
The latest mime module with latest mime-db thought
would serve them as application/javascript.

This would enable direct .mjs access without needing
?module or runtime transpilations.
@WebReflection
Copy link
Contributor Author

WebReflection commented Sep 12, 2017

come on @mjackson ... I know you can't wait to serve files with your own initials as extension !!! 😃

@mjackson
Copy link
Member

Haha ;) Your appeal to my ego persuades me to click the merge button... thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants