-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
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 .
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue