mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-26 04:14:29 +00:00
Remove unnecessary tsc settings
This commit is contained in:
parent
d6d24966be
commit
8590f80c31
@ -9,7 +9,8 @@ MINIFY=${MINIFY-true}
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "${0}")/../.."
|
cd "$(dirname "${0}")/../.."
|
||||||
|
|
||||||
tsc --outDir out --tsBuildInfoFile .cache/out.tsbuildinfo
|
tsc
|
||||||
|
|
||||||
# If out/node/entry.js does not already have the shebang,
|
# If out/node/entry.js does not already have the shebang,
|
||||||
# we make sure to add it and make it executable.
|
# we make sure to add it and make it executable.
|
||||||
if ! grep -q -m1 "^#!/usr/bin/env node" out/node/entry.js; then
|
if ! grep -q -m1 "^#!/usr/bin/env node" out/node/entry.js; then
|
||||||
|
@ -8,17 +8,15 @@
|
|||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"outDir": "./out",
|
"outDir": "./out",
|
||||||
"allowJs": false,
|
|
||||||
"jsx": "react",
|
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"tsBuildInfoFile": "./.tsbuildinfo",
|
"tsBuildInfoFile": "./.cache/tsbuildinfo",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"typeRoots": ["./node_modules/@types", "./typings"]
|
"typeRoots": ["./node_modules/@types", "./typings"]
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
|
"include": ["./src/**/*.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user