Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Exclude node_modules from TS compilation
TypeScript excludes `node_modules` by default (among other directories)
if you don't specify `exclude` in the TS config, but if you specify
`exclude`, then you need to make to explicitly list `node_modules`.
  • Loading branch information
mcmire committed Nov 13, 2023
commit c17c4707fb21fdffb7cadc6afe38cd9514cc84eb
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"strict": true,
"target": "es2020"
},
"exclude": ["./dist/**/*"]
"exclude": ["./dist", "./node_modules"]
}