Skip to content

Commit

Permalink
Add extension .mjs to application/javascript
Browse files Browse the repository at this point in the history
closes #88
  • Loading branch information
bmeck authored and dougwilson committed Aug 23, 2017
1 parent 1f64a00 commit 989936c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ unreleased
==========

* Add `application/vnd.ms-outlook`
* Add extension `.mjs` to `application/javascript`
* Add glTF types and extensions
* Add new upstream MIME types
* Add `text/x-org`
Expand Down
2 changes: 1 addition & 1 deletion db.json
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
"source": "iana",
"charset": "UTF-8",
"compressible": true,
"extensions": ["js"]
"extensions": ["js","mjs"]
},
"application/jf2feed+json": {
"source": "iana",
Expand Down
6 changes: 5 additions & 1 deletion src/custom-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@
},
"application/javascript": {
"charset": "UTF-8",
"compressible": true
"compressible": true,
"extensions": ["mjs"],
"sources": [
"https://tools.ietf.org/html/draft-bfarias-javascript-mjs-00"
]
},
"application/json": {
"charset": "UTF-8",
Expand Down

0 comments on commit 989936c

Please sign in to comment.