From 9ebaef7fe4f7d859afaa428175782560b2917bf1 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 8 May 2017 15:41:38 -0700 Subject: [PATCH] Fix node_modules being included in our ts projects Part of #24698 **bug** A node_modules folder under build/lib/watch is being included in our project system. This slows down TS quite a lot **fix** Remove this and remove the root jsconfig.json in the project --- build/tsconfig.json | 6 +++++- jsconfig.json | 27 --------------------------- 2 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 jsconfig.json diff --git a/build/tsconfig.json b/build/tsconfig.json index 59a73844e1456..6dacf4250424f 100644 --- a/build/tsconfig.json +++ b/build/tsconfig.json @@ -9,5 +9,9 @@ "experimentalDecorators": true, "noLib": true, "newLine": "LF" - } + }, + "exclude": [ + "node_modules", + "./lib/watch/node_modules/**/*" + ] } \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index cc732031011de..0000000000000 --- a/jsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=759670 - // for the documentation about the jsconfig.json format - "compilerOptions": { - "target": "es6", - "module": "commonjs", - "allowSyntheticDefaultImports": true - }, - "exclude": [ - "src", - "extensions", - "test", - "i18n", - "out", - "out-build", - "out-vscode", - "out-vscode-min", - "out-editor", - "out-editor-min", - "out-monaco-editor-core", - "resources", - "scripts", - ".build", - "node_modules", - "build/monaco/node_modules" - ] -}