From 8590f80c319ec37172610b01a4467fa278e101fa Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 4 Aug 2020 15:05:13 -0500 Subject: [PATCH] Remove unnecessary tsc settings --- ci/build/build-code-server.sh | 3 ++- tsconfig.json | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ci/build/build-code-server.sh b/ci/build/build-code-server.sh index e1bb0558..df085280 100755 --- a/ci/build/build-code-server.sh +++ b/ci/build/build-code-server.sh @@ -9,7 +9,8 @@ MINIFY=${MINIFY-true} main() { cd "$(dirname "${0}")/../.." - tsc --outDir out --tsBuildInfoFile .cache/out.tsbuildinfo + tsc + # If out/node/entry.js does not already have the shebang, # we make sure to add it and make it executable. if ! grep -q -m1 "^#!/usr/bin/env node" out/node/entry.js; then diff --git a/tsconfig.json b/tsconfig.json index 2c7db3ea..ac3a1df5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,17 +8,15 @@ "noUnusedLocals": true, "forceConsistentCasingInFileNames": true, "outDir": "./out", - "allowJs": false, - "jsx": "react", "declaration": true, "experimentalDecorators": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, - "tsBuildInfoFile": "./.tsbuildinfo", + "tsBuildInfoFile": "./.cache/tsbuildinfo", "incremental": true, "rootDir": "./src", "typeRoots": ["./node_modules/@types", "./typings"] }, - "include": ["./src/**/*.ts", "./src/**/*.tsx"] + "include": ["./src/**/*.ts"] }