Is there any way to add a pattern in the exclude property of a tsconfig file or is it only able to support directories?
I'm trying to exclude all my test files from compilation so I was wondering if I can use something like this :
src/**/*.spec.ts
Seems like it doesn't work though.
Full example if anyone needs it:
{
"compilerOptions": {
...
},
"include": [
"src/**/*"
],
"exclude": [
"src/**/*.spec.ts"
]
}