mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Fix node_modules exclude
This commit is contained in:
parent
ed1eb2b274
commit
2922bd59a6
@ -532,7 +532,7 @@ namespace ts {
|
||||
}
|
||||
else {
|
||||
// by default exclude node_modules, and any specificied output directory
|
||||
exclude = ["./node_modules"]
|
||||
exclude = ["node_modules"]
|
||||
let outDir = json["compilerOptions"] && json["compilerOptions"]["outDir"];
|
||||
if(outDir) {
|
||||
exclude.push(outDir);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user