Which Files?
You can either use files to be explicit:
{
"files":[
"./some/file.ts"
]
}or include and exclude to specify files / folders / globs. E.g.:
{
"include":[
"./folder"
],
"exclude":[
"./folder/**/*.spec.ts",
"./folder/someSubFolder"
]
}Some notes:
For globs :
**/*(e.g. sample usagesomefolder/**/*) means all folder and any files (the extensions.ts/.tsxwill be assumed and ifallowJs:trueso will.js/.jsx)
Last updated
Was this helpful?