From 6df82867a0c1f8e206fd1e2f024577fe3c50b5e1 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 15 Mar 2021 16:36:17 -0700 Subject: [PATCH] use `incremental` build mode for `tsc` --- .gitignore | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 762c7833fd80..a7e119ee035e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ release/ /sql/ /start.sh .eslintcache +tsconfig.tsbuildinfo # generated files js/components.js diff --git a/tsconfig.json b/tsconfig.json index 75d1249a1be8..c172487b0065 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "dom", // Required to access `window` "es2017" // Required by `@sindresorhus/is` ], + "incremental": true, // "allowJs": true, // Allow javascript files to be compiled. // "checkJs": true, // Report errors in .js files. "jsx": "react", // Specify JSX code generation: 'preserve', 'react-native', or 'react'. @@ -15,7 +16,7 @@ // "sourceMap": true, // Generates corresponding '.map' file. // "outFile": "./", // Concatenate and emit output to single file. // "outDir": "./", // Redirect output structure to the directory. - "rootDir": "./ts", // Specify the root directory of input files. Use to control the output directory structure with --outDir. + "rootDir": "./", // Specify the root directory of input files. Use to control the output directory structure with --outDir. // "removeComments": true, // Do not emit comments to output. // "noEmit": true, // Do not emit outputs. // "importHelpers": true, // Import emit helpers from 'tslib'.