From c1b302d76968bb55df24ef360a9fbf71857ae35c Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Thu, 17 Oct 2019 02:35:04 +0900 Subject: fix: remote jsx/tsx files were compiled as js/ts (#3125) --- tools/http_server.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/http_server.py') diff --git a/tools/http_server.py b/tools/http_server.py index 1951c9e53..0a8212b82 100755 --- a/tools/http_server.py +++ b/tools/http_server.py @@ -111,6 +111,8 @@ def server(): Handler.extensions_map.update({ ".ts": "application/typescript", ".js": "application/javascript", + ".tsx": "application/typescript", + ".jsx": "application/javascript", ".json": "application/json", }) SocketServer.TCPServer.allow_reuse_address = True -- cgit v1.2.3