mjackson / unpkg

The CDN for everything on npm
https://unpkg.com
Other
3.01k stars 303 forks source link

upgrade mime for improved CJS handling #364

Open benmccann opened 1 year ago

benmccann commented 1 year ago

.cjs is being served as text/plain, which is incorrect. This PR upgrades the mime package as this is fixed in newer versions of it. See https://github.com/mjackson/unpkg/issues/355#issuecomment-1541520209

matschik commented 1 year ago

Looking forward for this PR to be merged, I got the same mime type issue when importing a ".cjs" file.

tennox commented 11 months ago

@mjackson shy bump :sweat_smile:

Swivelgames commented 3 months ago

Fixes #355 Fixes #268

EDIT: I think this needs to go in the PR's description in order for it to track properly :sweat_smile:

beemdvp commented 1 month ago

Please merge, would be great :+1: