From d72d4ee6f369c9e735400e3039562efbbfb559b6 Mon Sep 17 00:00:00 2001 From: Andrea Giammarchi Date: Sat, 9 Sep 2017 06:53:18 +0100 Subject: [PATCH] Add support for .mjs files 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30c2eaa..0133ca0 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "gunzip-maybe": "^1.4.0", "invariant": "^2.2.2", "isomorphic-fetch": "^2.2.1", - "mime": "^1.3.6", + "mime": "^1.4.0", "mkdirp": "^0.5.1", "morgan": "^1.8.1", "ndjson": "^1.5.0",