I'm trying to include some files in my tsconfig.json, but it's including files I don't want to be included. From a repo (with uncompiled source) I'm trying to include files that end in .ts
, except for ones that end in .spec.ts
.
The following includes the files I want, but doesn't successfully exclude the files I don't want.
"include": ["node_modules/dashboard/**/*.ts"],
"exclude": ["node_modules/dashboard/**/*.spec.ts"],
(Then) new to Unix glob patterns/strings, I need ones to match and exclude the files correctly, and then how to add them to the config.