From 1bfc72fa2a29564c9f768273c706bd79941e3c3c Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 27 May 2022 14:51:12 +1000 Subject: [PATCH] Fix include/exclude folders in tsconfig --- tsconfig.dev.json | 2 +- tsconfig.json | 4 ++-- tsconfig.umd.json | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tsconfig.dev.json b/tsconfig.dev.json index 5cdf5d2ea6..44c5c662c1 100644 --- a/tsconfig.dev.json +++ b/tsconfig.dev.json @@ -3,5 +3,5 @@ "compilerOptions": { "noEmit": true }, - "exclude": ["node_modules/**"] + "exclude": [] } diff --git a/tsconfig.json b/tsconfig.json index da0859c7e6..e87fb8f9e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,8 +45,8 @@ "types": ["node", "mocha"], "typeRoots": ["node_modules/@types", "src/types"] }, - "include": ["src/**/*.ts"], - "exclude": ["node_modules/**", "src/**/*.spec.ts", "src/test_utils"], + "include": ["src"], + "exclude": ["src/**/*.spec.ts", "src/test_utils"], "compileOnSave": false, "ts-node": { "files": true diff --git a/tsconfig.umd.json b/tsconfig.umd.json index 745ea3a123..eb4a5cce5b 100644 --- a/tsconfig.umd.json +++ b/tsconfig.umd.json @@ -5,6 +5,5 @@ "target": "es6", "removeComments": true, "outFile": "build/min.js" - }, - "exclude": ["node_modules/**", "src/**/*.spec.ts", "src/test_utils"] + } }