Skip to content

Commit

Permalink
📝 prefer exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
basarat committed Feb 2, 2016
1 parent 9520703 commit 7757acc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,15 @@ you experience with the nightly so that they can be fixed promptly.
"target": "es5",
"sourceMap": true
},
"files": [
"path/to/declaration.d.ts"
"exclude": [
"node_modules"
]
}
```

The [tsconfig.json](https://github.com/Microsoft/TypeScript/wiki/tsconfig.json) file controls
TypeScript-related options so that your IDE, the `tsc` command, and this loader all share the
same options. The `files` property should generally be specified even if its just an empty array.
If the `files` property is not specified, then **all** TypeScript files in the directory and
subdirectories will be included, possibly even ones that should not be.
same options. TypeScript files from all subdirectories will get included except the ones matching `exclude`.

#### Options

Expand Down

0 comments on commit 7757acc

Please sign in to comment.