diff --git a/src/tsc/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts similarity index 100% rename from src/tsc/executeCommandLine.ts rename to src/executeCommandLine/executeCommandLine.ts diff --git a/src/executeCommandLine/tsconfig.json b/src/executeCommandLine/tsconfig.json new file mode 100644 index 0000000000000..7049d5ff90914 --- /dev/null +++ b/src/executeCommandLine/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../tsconfig-base", + "compilerOptions": { + "outFile": "../../built/local/executeCommandLine.js" + }, + + "references": [ + { "path": "../compiler" } + ], + + "files": [ + "executeCommandLine.ts" + ] +} diff --git a/src/executeCommandLine/tsconfig.release.json b/src/executeCommandLine/tsconfig.release.json new file mode 100644 index 0000000000000..fee25efdd03f7 --- /dev/null +++ b/src/executeCommandLine/tsconfig.release.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outFile": "../../built/local/executeCommandLine.release.js", + "removeComments": true, + "preserveConstEnums": false + }, + "references": [ + { "path": "../compiler/tsconfig.release.json" } + ] +} diff --git a/src/testRunner/tsconfig.json b/src/testRunner/tsconfig.json index 28c240ef8b8e3..16c52975f4eca 100644 --- a/src/testRunner/tsconfig.json +++ b/src/testRunner/tsconfig.json @@ -16,6 +16,7 @@ "references": [ { "path": "../shims", "prepend": true }, { "path": "../compiler", "prepend": true }, + { "path": "../executeCommandLine", "prepend": true }, { "path": "../services", "prepend": true }, { "path": "../jsTyping", "prepend": true }, { "path": "../server", "prepend": true }, @@ -49,7 +50,6 @@ "unittests/services/extract/helpers.ts", "unittests/tsbuild/helpers.ts", - "../tsc/executeCommandLine.ts", "unittests/tsc/helpers.ts", "unittests/tscWatch/helpers.ts", "unittests/tsserver/helpers.ts", diff --git a/src/tsc/tsconfig.json b/src/tsc/tsconfig.json index 7de3cb82a959b..f04028e2dd8c5 100644 --- a/src/tsc/tsconfig.json +++ b/src/tsc/tsconfig.json @@ -4,10 +4,10 @@ "outFile": "../../built/local/tsc.js" }, "files": [ - "executeCommandLine.ts", "tsc.ts" ], "references": [ - { "path": "../compiler", "prepend": true } + { "path": "../compiler", "prepend": true }, + { "path": "../executeCommandLine", "prepend": true } ] } diff --git a/src/tsc/tsconfig.release.json b/src/tsc/tsconfig.release.json index 5d6e1687c2462..cab02625cfb2a 100644 --- a/src/tsc/tsconfig.release.json +++ b/src/tsc/tsconfig.release.json @@ -11,6 +11,7 @@ "incremental": true }, "references": [ - { "path": "../compiler/tsconfig.release.json", "prepend": true } + { "path": "../compiler/tsconfig.release.json", "prepend": true }, + { "path": "../executeCommandLine/tsconfig.release.json", "prepend": true } ] }