mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-26 21:23:53 -06:00
Fix node_modules exclude
(cherry picked from commit 2922bd59a6a73a99646b02e42ec40721dcb66835)
This commit is contained in:
parent
e4462975c8
commit
b93d112a8a
@ -558,7 +558,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