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"] }