Closed
Description
tsconfig.json picks all files in the containing folder by default, this is problematic with "node_modules" that contain .ts/.d.ts that are not relevant to the project. "files" is not useful here because of the lack of support for globs (see #1927).
Proposal:
- support a new property "exclude" that specifies a list of directories/files to exclude.
- "exclude" is ignored if "files" is present.
{
"compilerOptions": {
"out": "../../built/local/tsc.js",
"sourceMap": true
},
"exclude": [
"script/helper.ts",
"node_modules"
]
}
Note: This is needed if we want any of gulp/grunt/task runner/ProjectK support in VS .